/// <summary> /// Called when window closes /// </summary> public override void OnClose() { Debug.WriteLine("CLOSING!!!"); ScriptHandler.Close(); }