Example #1
0
 public void Init()
 {
     if (ThroughPut != null)
     {
         ThroughPut.Change(Timeout.Infinite, Timeout.Infinite);
         ThroughPut.Dispose();
     }
 }
Example #2
0
        public void OnDisable()
        {
            if (ThroughPut != null)
            {
                ThroughPut.Change(Timeout.Infinite, Timeout.Infinite);
                ThroughPut.Dispose();

                ThroughPut = null;
            }
        }
Example #3
0
 internal void Stop()
 {
     ThroughPut?.Change(Timeout.Infinite, Timeout.Infinite);
     ThroughPut?.Dispose();
     ThroughPut = null;
 }