update
This commit is contained in:
parent
c96c3ed552
commit
151e23df2e
@ -85,9 +85,12 @@ AmsConnection::~AmsConnection()
|
|||||||
{
|
{
|
||||||
if (socket.IsConnected())
|
if (socket.IsConnected())
|
||||||
{
|
{
|
||||||
socket.Shutdown();
|
|
||||||
receiver.join();
|
receiver.join();
|
||||||
}
|
}
|
||||||
|
if (socket.IsValid())
|
||||||
|
{
|
||||||
|
socket.Shutdown();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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