Most likely the event loop will quit only when all already scheduled events are processed. And since you are sending multiple signals from another thread before you call quit() then all those signals will be handled first and only then the loop will exit.
Bookmarks