Merge pull request #5811 from lioncash/leak
TraversalClient: Fix memory leaks in ReleaseTraversalClient()
This commit is contained in:
commit
ccfd2e502e
|
@ -329,6 +329,6 @@ void ReleaseTraversalClient()
|
|||
if (!g_TraversalClient)
|
||||
return;
|
||||
|
||||
g_TraversalClient.release();
|
||||
g_MainNetHost.release();
|
||||
g_TraversalClient.reset();
|
||||
g_MainNetHost.reset();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue