private void ProcessStop(UniNetObject uniObject = null) { if (uniObject == null) { } else { uniObject.Dispose(); } }
private void ProcessBadConnection(UniNetObject uniObject) { if (uniObject.ObjectError == Error.NetCoreError.Disconnecting) { uniObject.Dispose(); return; } else if (!(uniObject.ObjectError == Error.NetCoreError.IOPending)) { log("bad connection", ERROR, "ProcessBadConnection"); } _Callback.Aborted(uniObject, uniObject.stateObject); //if (_ConnectPool == null) //{ uniObject.Dispose(); //} //else //{ // //_ConnectPool.Push(connectionArgs); //} return; }