diff --git a/Assets/Mirror/Runtime/NetworkClient.cs b/Assets/Mirror/Runtime/NetworkClient.cs index 30dd55ded..10aaece0c 100644 --- a/Assets/Mirror/Runtime/NetworkClient.cs +++ b/Assets/Mirror/Runtime/NetworkClient.cs @@ -205,8 +205,9 @@ public static void ConnectLocalServer() // disconnect ////////////////////////////////////////////////////////// /// Disconnect from server. - // Simply call NetworkConnection.Disconnect -> Transport.Disconnect. - // Cleanup happens in OnTransportDisconnected! + // IMPORTANT: calling Disconnect() asks Transport to Disconnect and then + // Disconnects later in OnTransportDisconnected. + // => it does NOT fully disconnect IMMEDIATELY! public static void Disconnect() { connection?.Disconnect();