Advertisement
Anaristos

Self-Immolation

Aug 2nd, 2012
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.70 KB | None | 0 0
  1. public void stop()
  2.         {
  3.             MessageBox.Show(Properties.Settings.Default.ExitMessage);
  4.  
  5.             sess = null;
  6.  
  7.             cmud = null;
  8.  
  9.             fr = null;
  10.  
  11.             ms = null;
  12.  
  13.             mw = null;
  14.  
  15.             rl = null;
  16.  
  17.             GC.Collect();
  18.  
  19.             GC.WaitForPendingFinalizers();
  20.  
  21.             GC.Collect();
  22.  
  23.             GC.WaitForPendingFinalizers();
  24.  
  25.             GC.Collect();
  26.  
  27.             GC.WaitForPendingFinalizers();
  28.  
  29.             GC.Collect();
  30.  
  31.             GC.WaitForPendingFinalizers();
  32.  
  33.             GC.Collect();
  34.  
  35.             GC.WaitForPendingFinalizers();
  36.  
  37.             GC.Collect();
  38.  
  39.             GC.WaitForPendingFinalizers();
  40.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement