Example #1
0
        public override void Dispose()
        {
            base.Dispose();

            if (processor != null)
            {
                processor.Release();
                processor = null;
            }
        }
Example #2
0
        public void Dispose()
        {
            if (processor != null)
            {
                processor.Release();
                processor = null;
            }

            if (Mask != null)
            {
                Mask = null;
            }

            if (Core != null)
            {
                Core.Dispose();
                Core = null;
            }
        }