socket close -> sendmessage -> io_service stopwindows
先關閉socket句柄,再給windows窗口發送消息,而後io_service中止。socket
當sendmessage發送消息後,會和io_service形成死鎖,估計緣由io_service內部實現阻塞了windows某對象。對象