by **anacrolix@google.com**: <pre>On Windows a CTRL_CLOSE_EVENT message is sent prior to unavoidable termination. This should be represented by notifying the process with a SIGTERM. <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms683242(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/ms683242(v=vs.85).aspx</a></pre>