fix: NetworkServer Shutdown - added OnErrorEvent = null

This commit is contained in:
MrGadget1024 2021-12-14 06:57:17 -05:00
parent c237db48df
commit 950c0cbbd8

View File

@ -185,6 +185,7 @@ public static void Shutdown()
// we don't want to use those hooks after Shutdown anymore. // we don't want to use those hooks after Shutdown anymore.
OnConnectedEvent = null; OnConnectedEvent = null;
OnDisconnectedEvent = null; OnDisconnectedEvent = null;
OnErrorEvent = null;
if (aoi != null) aoi.Reset(); if (aoi != null) aoi.Reset();
} }