update
This commit is contained in:
parent
3df47404e0
commit
01c7114eaa
@ -85,12 +85,15 @@ AmsConnection::~AmsConnection()
|
|||||||
{
|
{
|
||||||
if (socket.IsConnected())
|
if (socket.IsConnected())
|
||||||
{
|
{
|
||||||
|
socket.Shutdown();
|
||||||
receiver.join();
|
receiver.join();
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
if (socket.IsValid())
|
if (socket.IsValid())
|
||||||
{
|
{
|
||||||
socket.Shutdown();
|
socket.Shutdown();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
SharedDispatcher AmsConnection::CreateNotifyMapping(uint32_t hNotify, std::shared_ptr<Notification> notification)
|
SharedDispatcher AmsConnection::CreateNotifyMapping(uint32_t hNotify, std::shared_ptr<Notification> notification)
|
||||||
|
Loading…
Reference in New Issue
Block a user