Example #1
0
        private void OnExecutionEvent(object sender, ExecutionStateEventArgs e)
        {
            Core core = sender as Core;
            FFIExecutionSession session = GetSession(core, false);

            //If there wasn't any session created, there was no extension app
            //registered for the session
            if (null == session)
            {
                return;
            }

            session.State = e.ExecutionState;
            mApploader.Notify(session);
        }
        private void OnExecutionEvent(object sender, ExecutionStateEventArgs e)
        {
            ProtoLanguage.CompileStateTracker compileState = sender as ProtoLanguage.CompileStateTracker;
            FFIExecutionSession session = GetSession(compileState, false);

            //If there wasn't any session created, there was no extension app
            //registered for the session
            if (null == session)
            {
                return;
            }

            session.State = e.ExecutionState;
            mApploader.Notify(session);
        }