1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

LibCore: Cancel jobs on event loop exit

This important feature was regressed with the recent architectural
change.
This commit is contained in:
kleines Filmröllchen 2023-05-11 21:58:40 +02:00 committed by Andrew Kaster
parent f2609281a3
commit 7704d89496
3 changed files with 12 additions and 0 deletions

View file

@ -48,6 +48,7 @@ EventLoop& EventLoop::current()
void EventLoop::quit(int code)
{
ThreadEventQueue::current().cancel_all_pending_jobs();
m_impl->quit(code);
}