public void Init() { if (ThroughPut != null) { ThroughPut.Change(Timeout.Infinite, Timeout.Infinite); ThroughPut.Dispose(); } }
public void OnDisable() { if (ThroughPut != null) { ThroughPut.Change(Timeout.Infinite, Timeout.Infinite); ThroughPut.Dispose(); ThroughPut = null; } }
internal void Stop() { ThroughPut?.Change(Timeout.Infinite, Timeout.Infinite); ThroughPut?.Dispose(); ThroughPut = null; }