diff --git a/reactos/ntoskrnl/ke/i386/thrdini.c b/reactos/ntoskrnl/ke/i386/thrdini.c index 07da5ab1fa3..5a083d386fb 100644 --- a/reactos/ntoskrnl/ke/i386/thrdini.c +++ b/reactos/ntoskrnl/ke/i386/thrdini.c @@ -397,12 +397,14 @@ KiSwapContextExit(IN PKTHREAD OldThread, if (!NewThread->SpecialApcDisable) { /* Request APC delivery */ - if (SwitchFrame->ApcBypassDisable) HalRequestSoftwareInterrupt(APC_LEVEL); - return TRUE; + if (SwitchFrame->ApcBypassDisable) + HalRequestSoftwareInterrupt(APC_LEVEL); + else + return TRUE; } } - /* Return */ + /* Return stating that no kernel APCs are pending*/ return FALSE; }