saltstack/salt — pull request #5664 by olliewalsh (2013-06-21 00:38:40+00:00)
Title: Potential fix for issue #5637

Potential fix for issue #5637:
Create a null handler for CTRL_LOGOFF_EVENT. This event is not being sent on Windows 7 so I can't verify that it works but I can verify that the handler is active by adding a log statement.