protected override void AfterDeactivate()
        {
            writer.CloseSavingContext(true);
            writer.Dispose();
            writer = null;

            base.AfterDeactivate();
        }
Beispiel #2
0
        protected override void AfterDeactivate()
        {
            if (recording)
            {
                writer.CloseSavingContext(true);
                writer.Dispose();
                writer = null;

                recording = false;
            }

            base.AfterDeactivate();
        }
Beispiel #3
0
        private void DoStopRecord()
        {
            //---------------------------------------
            // Must be called on the consumer thread.
            //---------------------------------------
            stopRecordAsked = false;

            if (!recording)
            {
                return;
            }

            writer.CloseSavingContext(true);
            writer.Dispose();
            writer = null;

            recording = false;
        }