Skip to content

Commit

Permalink
fix: don't crash when stopping the client
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpach committed Mar 8, 2020
1 parent fc99c67 commit f584388
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Assets/Mirror/Runtime/Transport/Tcp/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ public void Disconnect()
// only if started
if (client != null)
{
Disconnected?.Invoke();
// close client
client.Close();
client = null;
Expand Down

0 comments on commit f584388

Please sign in to comment.