Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.15.1, 6.2.0
Description
Spawned QtWebEngineProcess(es) aren't killed after WebEngineView destruction.
It's a common use-case to use WebEngineView inside Loader and instantiate it only when necessary. This allows do not allocate a huge amount of resources for Chromium and free it when you don't need this anymore.
Loader { id: loader active: false // controlled outside sourceComponent: WebEngineView { url: 'https://www.youtube.com/watch?v=_cc5jbB6Zmw' } }
Please see attached demo application.
At least on Win10 after WebEngineView destored there are still a few of QtWebEngineProcess(es) in the system
"C:\Qt\5.15.1\msvc2019\bin\QtWebEngineProcess.exe" --type=utility --enable-features=AllowContentInitiatedDataUrlNavigations,TracingServiceInProcess --disable-features=BackgroundFetch,ConsolidatedMovementXY,DnsOverHttpsUpgrade,MojoVideoCapture,PictureInPicture,SmsReceiver,UseSkiaRenderer,WebPayments,WebUSB --lang=ru --service-sandbox-type=network --use-gl=angle --application-name=demo --webengine-schemes=qrc:sLV --mojo-platform-channel-handle=2688 /prefetch:8 "C:\Qt\5.15.1\msvc2019\bin\QtWebEngineProcess.exe" --type=utility --enable-features=AllowContentInitiatedDataUrlNavigations,TracingServiceInProcess --disable-features=BackgroundFetch,ConsolidatedMovementXY,DnsOverHttpsUpgrade,MojoVideoCapture,PictureInPicture,SmsReceiver,UseSkiaRenderer,WebPayments,WebUSB --lang=ru --service-sandbox-type=audio --use-gl=angle --application-name=demo --webengine-schemes=qrc:sLV --mojo-platform-channel-handle=4044 /prefetch:8
Attachments
Issue Links
- is duplicated by
-
QTBUG-96519 QtWebEngineProcess.exe doesn't automatically stops if close QDialog with web content
- Closed
- relates to
-
QTBUG-84105 Out-of-proc networking causes firewall confusion
- Closed
-
QTBUG-123716 [REG 6.5.3->6.6.2] Input device's sample rate does not much the client sample rate
- Closed