Meta.ActiveObject.Run C# (CSharp) Method

Run() private method

Core run method of this active thread
private Run ( ) : void
return void
        private void Run()
        {
            try
            {
                while (Guard())
                {
                    try
                    {
                        m_ActiveAction();
                    }
                    catch (System.OutOfMemoryException /*ex*/)
                    {
                        string message = "The Tools->Meta->Options page specifies a " + maxStackSize + " byte stack reserve size. This exceeds available memory."
                            + Environment.NewLine + "Please try again with a lower stack size reserve value.";
                        string caption = "Stack Reserve Size Too Large...";
                        MessageBox.Show(message, caption, MessageBoxButtons.OK, MessageBoxIcon.Error);
                        return;
                    }
                    catch (Exception /*ex*/)
                    {
                        //! Log the exception?
                    }
                    finally
                    {
                        m_ShutdownEvent.Set();
                    }
                }
            }
            catch(Exception /*ex*/)
            {
                //!Log it?
            }
            finally
            {
                m_SignalObject.Close();
                m_ShutdownEvent.Close();

                m_SignalObject = null;
                m_ShutdownEvent = null;
            }
        }