fix(NetworkServer): RemoveTransportHandlers OnTransportConnectedWithAddress

This commit is contained in:
MrGadget 2024-07-11 09:30:15 -04:00
parent 105607014f
commit 76d83aa998

View File

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