Skip to content
Commit ecb17cc4 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix Agents and Resources not quitting when asked to and crashing instead

The port from KGlobal::ref() to QEventLoopLocker was not working as expected,
since QEventLoopLocker will only quit the application when quitOnLastWindowClosed
is set to true. Otherwise nothing would happen when the reference counter
dropped to 0. Repeated calls to quit() then caused the mEventLoopLocker to be
deleted multiple times and thus crashing.
parent 471b4a56
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment