mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix: NetworkServer Shutdown - added OnErrorEvent = null
This commit is contained in:
parent
c237db48df
commit
950c0cbbd8
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user