Exemple #1
0
 private void AnimationExplorerWPF_OnClosing(object sender, CancelEventArgs e)
 {
     //if (!GameController.TryGetME3Process(out _))
     //{
     //    string asiPath = InteropHelper.GetInteropAsiWritePath();
     //    if (File.Exists(asiPath))
     //    {
     //        File.Delete(asiPath);
     //    }
     //}
     ME3OpenTimer.Stop();
     ME3OpenTimer.Tick -= CheckIfME3Open;
     GameController.RecieveME3Message -= GameController_RecieveME3Message;
     DataContext = null;
     Instance    = null;
 }