fix(NetworkServer): RemoveTransportHandlers OnTransportConnectedWithAddress

This commit is contained in:
MrGadget 2024-07-11 09:30:15 -04:00
parent 49baf47c1f
commit 2e20a21125

View File

@ -265,6 +265,7 @@ static void RemoveTransportHandlers()
{ {
// -= so that other systems can also hook into it (i.e. statistics) // -= so that other systems can also hook into it (i.e. statistics)
Transport.active.OnServerConnected -= OnTransportConnected; Transport.active.OnServerConnected -= OnTransportConnected;
Transport.active.OnServerConnectedWithAddress -= OnTransportConnectedWithAddress;
Transport.active.OnServerDataReceived -= OnTransportData; Transport.active.OnServerDataReceived -= OnTransportData;
Transport.active.OnServerDisconnected -= OnTransportDisconnected; Transport.active.OnServerDisconnected -= OnTransportDisconnected;
Transport.active.OnServerError -= OnTransportError; Transport.active.OnServerError -= OnTransportError;