public override void Unload() { if (inputObserver != null) { inputObserver.Dispose(); imageThreshold.Dispose(); imageThreshold = null; inputObserver = null; } base.Unload(); }
protected override void Unload() { detector.Dispose(); base.Unload(); }