예제 #1
0
파일: WebService.cs 프로젝트: pos0637/codec
        public override void Stop()
        {
            if (worker != null)
            {
                worker.Discard();
                worker.Join();
            }

            base.Stop();
        }
예제 #2
0
        public override void Dispose()
        {
            if (worker != null)
            {
                worker.Discard();
                worker.Join();
            }

            if (cell != null)
            {
                cell.OnImageCallback -= OnImageCallback;
            }

            if (imageGCHandle.IsAllocated)
            {
                imageGCHandle.Free();
            }
        }