1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

WindowServer: Slap everything with locks.

This commit is contained in:
Andreas Kling 2019-01-17 16:21:04 +01:00
parent 5983a217c3
commit 133f9aa352
2 changed files with 9 additions and 0 deletions

View file

@ -51,6 +51,7 @@ int WSEventLoop::exec()
Vector<QueuedEvent> events;
{
ASSERT_INTERRUPTS_ENABLED();
LOCKER(m_lock);
events = move(m_queued_events);
}