停止对异常事件的捕获
This commit is contained in:
@@ -102,9 +102,12 @@ namespace HexcalMC.Hexcal
|
||||
try
|
||||
{
|
||||
WatchStatus = false;
|
||||
_mWatchSocket.Close();
|
||||
_mWatchSocket.Dispose();
|
||||
_mWatchSocket = null;
|
||||
if (_mWatchSocket != null)
|
||||
{
|
||||
_mWatchSocket.Close();
|
||||
_mWatchSocket.Dispose();
|
||||
_mWatchSocket = null;
|
||||
}
|
||||
|
||||
_dictThread.Clear();
|
||||
_dictSocket.Clear();
|
||||
|
||||
Reference in New Issue
Block a user