aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/win32/start_erl.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/etc/win32/start_erl.c')
-rw-r--r--erts/etc/win32/start_erl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/etc/win32/start_erl.c b/erts/etc/win32/start_erl.c
index 28c8e55bd3..41b221d5bc 100644
--- a/erts/etc/win32/start_erl.c
+++ b/erts/etc/win32/start_erl.c
@@ -585,6 +585,9 @@ BOOL WINAPI LogoffHandlerRoutine( DWORD dwCtrlType )
if(dwCtrlType == CTRL_LOGOFF_EVENT) {
return TRUE;
}
+ if(dwCtrlType == CTRL_SHUTDOWN_EVENT) {
+ return TRUE;
+ }
return FALSE;
}