diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-24 16:16:30 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-24 16:16:30 +0100 |
commit | ae6cb01e5666a8d4cedaf221f2e784f862784482 (patch) | |
tree | 0f688978194e4d3014b76d779c485f4de0de8ad3 /src/main.cpp | |
parent | Implemented stone and wooden pressure plates (diff) | |
download | cuberite-ae6cb01e5666a8d4cedaf221f2e784f862784482.tar cuberite-ae6cb01e5666a8d4cedaf221f2e784f862784482.tar.gz cuberite-ae6cb01e5666a8d4cedaf221f2e784f862784482.tar.bz2 cuberite-ae6cb01e5666a8d4cedaf221f2e784f862784482.tar.lz cuberite-ae6cb01e5666a8d4cedaf221f2e784f862784482.tar.xz cuberite-ae6cb01e5666a8d4cedaf221f2e784f862784482.tar.zst cuberite-ae6cb01e5666a8d4cedaf221f2e784f862784482.zip |
Diffstat (limited to '')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index a4ee09952..81c6b41e4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -129,7 +129,7 @@ BOOL CtrlHandler(DWORD fdwCtrlType) g_TERMINATE_EVENT_RAISED = true; LOGD("Terminate event raised from the Windows CtrlHandler"); - if (fdwCtrlType == CTRL_CLOSE_EVENT) // Console windows closed via 'x' button, Windows will try to close immediately, therefore... + if (fdwCtrlType == CTRL_CLOSE_EVENT) // Console window closed via 'x' button, Windows will try to close immediately, therefore... { while (!g_SERVER_TERMINATED) { cSleep::MilliSleep(100); } // Delay as much as possible to try to get the server to shut down cleanly } |