AEMManager.AemActions.ControlKillInstance C# (CSharp) Method

ControlKillInstance() private static method

private static ControlKillInstance ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private static void ControlKillInstance(object sender, EventArgs e)
        {
            AemInstance instance = Program.GetActionInstance(sender);
              if (instance == null) {
            return;
              }

              Process process = instance.GetInstanceJavaProcess();
              if (process != null) {
            KillProcessAndChildrens(process.Id, instance);
              }
        }