/// <summary> /// Stop background processes /// </summary> public void Stop() { try { if (ascRunner != null && ascRunner.IsRunning) { ascRunner.KillProcess(); } } catch { } finally { ascRunner = null; } try { if (mxmlcRunner != null && mxmlcRunner.IsRunning) { mxmlcRunner.KillProcess(); } } catch { } finally { mxmlcRunner = null; } }
/// <summary> /// Stop background processes /// </summary> public void Stop() { if (ascRunner != null && ascRunner.IsRunning) { ascRunner.KillProcess(); } ascRunner = null; if (mxmlcRunner != null && mxmlcRunner.IsRunning) { mxmlcRunner.KillProcess(); } mxmlcRunner = null; }