public void StopDispatching (FileSystemWatcher fsw) { KqueueMonitor monitor = (KqueueMonitor)watches [fsw]; if (monitor == null) return; monitor.Stop (); }
public void StopDispatching(object handle) { var fsw = handle as FileSystemWatcher; KqueueMonitor monitor = (KqueueMonitor)watches [fsw]; if (monitor == null) { return; } monitor.Stop(); }