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