public override void destroy()
 {
     base.destroy();
     clearSocket();
     mSendThread.destroy();
     mReceiveThread.destroy();
 }
Exemplo n.º 2
0
 public override void destroy()
 {
     base.destroy();
     mBufferLock.unlock();
     mSqlLiteLock.unlock();
     mSendThread.destroy();
     logInfo("完成退出日志");
 }
Exemplo n.º 3
0
 public override void destroy()
 {
     base.destroy();
     mServerSocket?.Close();
     mServerSocket = null;
     mSendThread.destroy();
     mReceiveThread.destroy();
     mAcceptThread.destroy();
 }
Exemplo n.º 4
0
 public override void destroy()
 {
     // 首先停止自动连接设备的线程,再关闭设备
     mOpenDeviceThread.destroy();
     closeDevice();
     mReceiveThread.destroy();
     mParseThread.destroy();
     base.destroy();
     UnityUtility.logInfo("USB管理器退出完毕!");
 }
Exemplo n.º 5
0
 public override void destroy()
 {
     if (mServerSocket != null)
     {
         mServerSocket.Close();
         mServerSocket = null;
     }
     mSendThread.destroy();
     mReceiveThread.destroy();
 }
Exemplo n.º 6
0
 public override void destroy()
 {
     base.destroy();
     if (mSQLite != null)
     {
         mSQLite.destroy();
         mSQLite = null;
     }
     mBufferLock.unlock();
     mSqlLiteLock.unlock();
     mSendThread.destroy();
     UnityUtility.logInfo("完成退出日志");
 }
Exemplo n.º 7
0
 public override void destroy()
 {
     if (mServerSoket != null)
     {
         mServerSoket.Close();
         mServerSoket = null;
     }
     if (mBroadcastSocket != null)
     {
         mBroadcastSocket.Close();
         mBroadcastSocket = null;
     }
     mReceiveThread.destroy();
     mOutputThread.destroy();
     base.destroy();
     UnityUtility.logInfo("网络管理器退出完毕", LOG_LEVEL.LL_FORCE);
 }
Exemplo n.º 8
0
 public override void destroy()
 {
     mDownloadingThread.destroy();
     mUploadingThread.destroy();
 }
Exemplo n.º 9
0
 public void destroy()
 {
     mWriteLogThread.destroy();
     // 线程停止后仍然需要保证将列表中的全部日志信息写入文件
     writeLogToFile();
 }