public void Dispose() { if (eioHandlerCb != null) { pulse.Dispose(); eioHandlerCb = null; outstanding = null; GC.SuppressFinalize(this); } }
public void Dispose() { if (idle_watcher != null) { idle_watcher.Dispose(); idle_watcher = null; } if (want_poll_watcher != null) { want_poll_watcher.Dispose(); want_poll_watcher = null; } if (done_poll_watcher != null) { want_poll_watcher.Dispose(); done_poll_watcher = null; } }
public void Dispose() { Socket = null; if (Stream != null) { Stream.Dispose(); Stream = null; } if (end_watcher != null) { end_watcher.Dispose(); end_watcher = null; } }