void OnClose(ScheduleHandle handle) { handle.Dispose(); this.closeCount++; if (!this.resetEvent.IsSet) { this.resetEvent.Set(); } }
static void OnClose(ScheduleHandle handle) => handle.Dispose();
void OnClose(ScheduleHandle handle) { handle.Dispose(); this.closeCount++; }
private void OnClosed(ScheduleHandle handle) => handle.Dispose();