socket close -> sendmessage -> io_service stopwindows
先关闭socket句柄,再给windows窗口发送消息,而后io_service中止。socket
当sendmessage发送消息后,会和io_service形成死锁,估计缘由io_service内部实现阻塞了windows某对象。对象