Exemple #1
0
 public void restart()
 {
     stop();
     thread = new BotThread();
     loadSelf();
     start();
 }
Exemple #2
0
 public void stop()
 {
     try
     {
         if (thread != null)
         {
             thread.Dispose();
             thread = null;
         }
     }
     catch (Exception ex)
     {
     }
 }