NetworkIdentityTests: clear up delegates

This commit is contained in:
vis2k 2020-03-05 21:42:47 +01:00
parent b91ed1aead
commit 85dab627ef

View File

@ -1138,6 +1138,7 @@ public void HandleCommand()
Assert.That(comp0.called, Is.EqualTo(1)); Assert.That(comp0.called, Is.EqualTo(1));
// clean up // clean up
NetworkBehaviour.ClearDelegates();
NetworkIdentity.spawned.Clear(); NetworkIdentity.spawned.Clear();
NetworkBehaviour.ClearDelegates(); NetworkBehaviour.ClearDelegates();
} }