diff options
author | Fredrik Gustafsson <[email protected]> | 2012-08-27 15:03:54 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2012-08-27 15:03:54 +0200 |
commit | e6b62480201b744bbac2d7b07618202c40e2912c (patch) | |
tree | dddd5d0e4e670bc120d709737eeb53e90acca5e8 /erts/etc/win32/start_erl.c | |
parent | c6fc61ffab426cc7b391eb903e7942bda809a230 (diff) | |
parent | 03985084e42e262bac1b7c48a97c31db97348f1d (diff) | |
download | otp-e6b62480201b744bbac2d7b07618202c40e2912c.tar.gz otp-e6b62480201b744bbac2d7b07618202c40e2912c.tar.bz2 otp-e6b62480201b744bbac2d7b07618202c40e2912c.zip |
Merge branch 'jkl/erlsrv-graceful-shutdown/OTP-10228' into maint
* jkl/erlsrv-graceful-shutdown/OTP-10228:
erlsrv: gracefully stop emulator on Windows shutdown
Diffstat (limited to 'erts/etc/win32/start_erl.c')
-rw-r--r-- | erts/etc/win32/start_erl.c | 3 |
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; } |