NetworkBehaviourTests: clear up delegates

This commit is contained in:
vis2k 2020-03-05 21:42:59 +01:00
parent 342f5b8b98
commit 92835cfc12

View File

@ -216,6 +216,7 @@ public void SendCommandInternal()
Assert.That(comp.called, Is.EqualTo(1));
// clean up
NetworkBehaviour.ClearDelegates();
ClientScene.Shutdown(); // clear clientscene.readyconnection
NetworkClient.Shutdown();
NetworkServer.Shutdown();