public void Reset() { if (Interlocked.Exchange(ref IsShutdown, 1) == 1) { return; } pushCancelSource?.Cancel(); _tun.executeLwipTask(() => _socket.Abort()); }
public virtual void Reset() { _tun.executeLwipTask(() => _socket.Abort()); }