Esempio n. 1
0
 void OnDestroy()
 {
     if (isWriteMd5File)
     {
         md5File.WriteToLocalFile(GameConfig.default_module);
     }
     if (thread != null)
     {
         thread.Stop();
     }
 }
Esempio n. 2
0
 private void OnDestroy()
 {
     if (_isWriteMd5File)
     {
         _checkForUpdate.WriteToLocalFile(_module);
     }
     if (_thread != null)
     {
         _thread.Stop();
     }
     _checkForUpdate = null;
     _thread         = null;
     _downloadList   = null;
     _table          = null;
 }