internal void Deactivate()
        {
            m_notifyStream.Deactivate();

            // Remove target to ensure no further events are sent
            // Otherwise, the events that are sent to a disposed target would cause crashes.
            m_scheduler?.RemoveExecutionLogTarget(this);
        }
 internal void Deactivate()
 {
     m_notifyStream.Deactivate();
 }