public void Dispose() { _multiHandle.Dispose(); _loop.Dispose(); _timeout.Dispose(); _socketMap.Dispose(); _oneRequestPullAtOnce.Dispose(); }
public void Dispose() { _multiHandle.Dispose(); _loop?.Dispose(); _timeout?.Dispose(); _socketMap.Dispose(); GC.KeepAlive(_socketCallback); GC.KeepAlive(_timerCallback); }
public void Dispose() { _multiHandle.Dispose(); //#if !UNITY _loop.Dispose(); //#else // //#endif _timeout.Dispose(); _socketMap.Dispose(); _oneRequestPullAtOnce.Dispose(); }