Exemplo n.º 1
0
 public static void Reset()
 {
     lock (Client.eventLock) {
         if (singleton != null) {
             if (singleton.registered) {
                 singleton.UnregisterGameHooks();
             }
         }
         singleton = new EditSync();
     }
 }
Exemplo n.º 2
0
 public static void Reset()
 {
     lock (Client.eventLock) {
         if (singleton != null)
         {
             if (singleton.registered)
             {
                 singleton.UnregisterGameHooks();
             }
         }
         singleton = new EditSync();
     }
 }