private void DisposeBackgroundThread() { if ((t != null)) { t.Dispose(); } }
public override void Dispose() { foreach (Chart c in _targets) { c.Canvas.removeMouseListener(this); c.Canvas.removeMouseMotionListener(this); c.Canvas.removeMouseWheelListener(this); } if ((!((_threadController == null)))) { _threadController.Dispose(); // Instead of threadController.stop(); } base.Dispose(); }
private void disposeBackgroundThread() { mCamera?.Dispose(); }