Skip to content

Commit

Permalink
Fix server compile error introduced in 4d37b6b
Browse files Browse the repository at this point in the history
  • Loading branch information
botder committed Jan 27, 2024
1 parent 639298f commit a3c6f0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Server/core/CServerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,12 +480,14 @@ void CServerImpl::MainLoop()
if (m_pModManager->IsFinished())
m_bRequestedQuit = true;

#ifdef WIN32
if (g_readyEvent != nullptr && m_pModManager->IsReadyToAcceptConnections())
{
SetEvent(g_readyEvent);
CloseHandle(g_readyEvent);
g_readyEvent = nullptr;
}
#endif

HandlePulseSleep();
}
Expand Down

0 comments on commit a3c6f0f

Please sign in to comment.