mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Clear Handlers on NetworkClient.Shutdown (#1069)
* Clear handlers on Shutdown * Update NetworkClient.cs * Update NetworkClient.cs
This commit is contained in:
parent
40dcdc8e7d
commit
d5e6bbc552
@ -450,6 +450,7 @@ public static void Shutdown()
|
|||||||
if (LogFilter.Debug) Debug.Log("Shutting down client.");
|
if (LogFilter.Debug) Debug.Log("Shutting down client.");
|
||||||
ClientScene.Shutdown();
|
ClientScene.Shutdown();
|
||||||
connectState = ConnectState.None;
|
connectState = ConnectState.None;
|
||||||
|
handlers.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user