diff --git a/Source/Core/Common/TraversalClient.cpp b/Source/Core/Common/TraversalClient.cpp index 67b4676769..a2cd9b2647 100644 --- a/Source/Core/Common/TraversalClient.cpp +++ b/Source/Core/Common/TraversalClient.cpp @@ -329,6 +329,6 @@ void ReleaseTraversalClient() if (!g_TraversalClient) return; - g_TraversalClient.release(); - g_MainNetHost.release(); + g_TraversalClient.reset(); + g_MainNetHost.reset(); }