add dispose()
This commit is contained in:
@@ -128,6 +128,7 @@ namespace TouchSocket.Core
|
||||
this.m_status = WaitDataStatus.Disposed;
|
||||
this.WaitResult = default;
|
||||
this.m_waitHandle.SafeDispose();
|
||||
this.registration.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
}
|
||||
|
@@ -119,6 +119,7 @@ namespace TouchSocket.Core
|
||||
this.m_status = WaitDataStatus.Disposed;
|
||||
this.WaitResult = default;
|
||||
this.m_asyncWaitHandle.SafeDispose();
|
||||
this.registration.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user