Esempio n. 1
0
        protected override void DoWaitForCompleteStop()
        {
            WriteLog(MessageType.Trace, nameof(DoWaitForCompleteStop), "Entering");

            try
            {
                base.DoWaitForCompleteStop();

                m_Thread.Join();
                m_Thread = null;

                m_Provider.WaitForCompleteStop();

                m_Buckets = null;
            }
            catch (Exception error)
            {
                WriteLog(MessageType.CatastrophicError, nameof(DoWaitForCompleteStop), "Leaked exception: " + error.ToMessageWithType(), error);
                throw error;
            }

            WriteLog(MessageType.Trace, nameof(DoWaitForCompleteStop), "Exiting");
        }
Esempio n. 2
0
        protected override void DoWaitForCompleteStop()
        {
            log(MessageType.Info, "Entering DoWaitForCompleteStop()", null);

            try
            {
                base.DoWaitForCompleteStop();

                m_Thread.Join();
                m_Thread = null;

                m_Provider.WaitForCompleteStop();

                m_Buckets = null;
            }
            catch (Exception error)
            {
                log(MessageType.CatastrophicError, "DoWaitForCompleteStop() exception: " + error.Message, null);
                throw error;
            }

            log(MessageType.Info, "Exiting DoWaitForCompleteStop()", null);
        }