Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlay/lib.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/overlay/lib.cpp b/overlay/lib.cpp
index 592ac7b9b..e9eeb4370 100644
--- a/overlay/lib.cpp
+++ b/overlay/lib.cpp
@@ -476,6 +476,11 @@ extern "C" __declspec(dllexport) int __cdecl OverlayHelperProcessMain(unsigned i
break;
}
+ if (msg.message == WM_CLOSE) {
+ retval = 0;
+ break;
+ }
+
TranslateMessage(&msg);
DispatchMessage(&msg);
}