Example #1
0
        public override void Unload()
        {
            if (inputObserver != null)
            {
                inputObserver.Dispose();
                imageThreshold.Dispose();
                imageThreshold = null;
                inputObserver  = null;
            }

            base.Unload();
        }
Example #2
0
 protected override void Unload()
 {
     detector.Dispose();
     base.Unload();
 }