Skip to content

Commit

Permalink
fix: clear all message handlers on Shutdown (#1829)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGadget committed May 2, 2020
1 parent d6a4d8f commit a6ab352
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Mirror/Runtime/NetworkServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public static void Shutdown()
}
dontListen = false;
active = false;
handlers.Clear();

NetworkIdentity.ResetNextNetworkId();
}
Expand Down

0 comments on commit a6ab352

Please sign in to comment.