Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
6.5.2
-
None
-
-
daf13fea1 (112-based), 96a787417 (122-based)
Description
With something like:
#include <QtWidgets/QApplication> #include <QtWebEngineWidgets/QWebEngineView> #include <QtCore/QProcess> #include <QtCore/QTimer> int main(int argc, char *argv[]) { QApplication app(argc, argv); QWebEngineView view; view.load(QUrl("https://qt.io")); view.show(); QProcess::startDetached("qtcreator"); QTimer::singleShot(5000, &app, &QApplication::quit); return app.exec(); }
The following processes will stick around after the application has exited:
/usr/lib/qt6/QtWebEngineProcess --type=zygote --no-zygote-sandbox --application-name=qtbug-zygote --webengine-schemes=qrc:sV --lang=en /usr/lib/qt6/QtWebEngineProcess --type=zygote --application-name=qtbug-zygote --webengine-schemes=qrc:sV --lang=en
Only when the subprocess (e.g. Qt Creator) quits, those stray Zygote processes exit as well.
Attachments
Issue Links
- relates to
-
QTBUG-49804 QtWebEngineProcess.exe sometimes still working after parent process closed.
- Closed