mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +02:00
LibCore: Cancel jobs on event loop exit
This important feature was regressed with the recent architectural change.
This commit is contained in:
committed by
Andrew Kaster
parent
f2609281a3
commit
7704d89496
@@ -48,6 +48,7 @@ EventLoop& EventLoop::current()
|
||||
|
||||
void EventLoop::quit(int code)
|
||||
{
|
||||
ThreadEventQueue::current().cancel_all_pending_jobs();
|
||||
m_impl->quit(code);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user