Skip to content

Commit

Permalink
fix: disconnect transport without domain reload
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpach committed May 24, 2020
1 parent fc92220 commit 20785b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Assets/Mirror/Runtime/Transport/AsyncTcp/AsyncTcpTransport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,10 @@ public override Uri ServerUri()

return builder.Uri;
}

public void OnApplicationQuit()
{
listener?.Stop();
}
}
}

0 comments on commit 20785b7

Please sign in to comment.