public void Dispose()
 {
     _waitHandler?.Dispose();
     _waitHandler = null;
     _timer       = null;
 }
Esempio n. 2
0
 public HashedWheelTimeout(HashedWheelTimer timer, ITimerTask task, long deadline)
 {
     this._timer   = timer;
     this._task    = task;
     this.Deadline = deadline;
 }