This commit is contained in:
zhouhuang 2024-12-16 13:03:34 +08:00
parent 3df47404e0
commit 01c7114eaa

View File

@ -85,12 +85,15 @@ AmsConnection::~AmsConnection()
{
if (socket.IsConnected())
{
socket.Shutdown();
receiver.join();
}
#if 0
if (socket.IsValid())
{
socket.Shutdown();
}
#endif
}
SharedDispatcher AmsConnection::CreateNotifyMapping(uint32_t hNotify, std::shared_ptr<Notification> notification)