Exemplo n.º 1
0
 public void Dispose()
 {
     if (!Hooks.Process.HasExited)
     {
         Patches.RevertAll();
     }
     Hooks.Dispose();
     if (MaybeJournalTracker != null && MaybeJournalTracker.IsHandleCreated)
     {
         MaybeJournalTracker.BeginInvoke((MethodInvoker) delegate() { MaybeJournalTracker.Hide(); });
     }
     if (MaybeCharactersTracker != null && MaybeCharactersTracker.IsHandleCreated)
     {
         MaybeCharactersTracker.BeginInvoke((MethodInvoker) delegate() { MaybeCharactersTracker.Hide(); });
     }
 }