diff options
Diffstat (limited to 'src/zenhttp/servers/httpmulti.cpp')
| -rw-r--r-- | src/zenhttp/servers/httpmulti.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenhttp/servers/httpmulti.cpp b/src/zenhttp/servers/httpmulti.cpp index 584e06cbf..196c0c142 100644 --- a/src/zenhttp/servers/httpmulti.cpp +++ b/src/zenhttp/servers/httpmulti.cpp @@ -88,7 +88,7 @@ HttpMultiServer::OnRun(bool IsInteractiveSession) } ShutdownRequested = m_ShutdownEvent.Wait(WaitTimeout); - } while (!ShutdownRequested); + } while (!ShutdownRequested && !IsApplicationExitRequested()); #else if (IsInteractiveSession) { @@ -98,7 +98,7 @@ HttpMultiServer::OnRun(bool IsInteractiveSession) do { ShutdownRequested = m_ShutdownEvent.Wait(WaitTimeout); - } while (!ShutdownRequested); + } while (!ShutdownRequested && !IsApplicationExitRequested()); #endif } |