mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
Upon leaving a critical section (such as a SpinLock) we need to check if we're already asynchronously invoking the Scheduler. Otherwise we might end up triggering another context switch as soon as leaving the scheduler lock. Fixes #2883