Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.11.1
-
None
-
Win 10 Enterprise
Qt Creator 4.7.0
Description
I actually have seen this in Windows 10, in Qt Creator, in Debug
In other cases I've seen the qtwebengine worker threads still running after the application has quit.
It seems to depend on how you "quit" .. in one case I used File > Quit which invoked QApplication::quit()
It produced this output:
[12820:5672:0807/114650.847:ERROR:process_win.cc(151)] Unable to terminate process: Access is denied. (0x5) [12820:5672:0807/114650.847:ERROR:process_win.cc(151)] Unable to terminate process: Access is denied. (0x5) [12820:5672:0807/114650.886:ERROR:process_win.cc(151)] Unable to terminate process: Access is denied. (0x5) [12820:5672:0807/114650.886:ERROR:process_win.cc(151)] Unable to terminate process: Access is denied. (0x5) [12820:5672:0807/114650.913:ERROR:process_win.cc(151)] Unable to terminate process: Access is denied. (0x5) [12820:5672:0807/114650.913:ERROR:process_win.cc(151)] Unable to terminate process: Access is denied. (0x5) [12820:5672:0807/114650.913:ERROR:process_win.cc(151)] Unable to terminate process: Access is denied. (0x5) [12820:5672:0807/114650.913:ERROR:process_win.cc(151)] Unable to terminate process: Access is denied. (0x5) [12820:11540:0807/114650.932:WARNING:discardable_shared_memory_manager.cc(436)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. They will be leaked. [12820:11540:0807/114650.932:WARNING:discardable_shared_memory_manager.cc(436)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. They will be leaked. 11:46:51: /debug/app exited with code 0
In another case, during my closeEvent, I invoke the following event->accept() without QApplication:quit() .. the result was that even though the application window had closed, the worker threads were still alive and reporting keep-alives back through the websocket. This apparently was because even though I did an event->accept() on the close event of the main window, I did not invoke QApplication:quit() .. so I'll investigate that myself.
Attachments
Issue Links
- duplicates
-
QTBUG-69030 Qt Qtwebengineprocessd not terminated when stopping debugging in VS 2017
- Closed