mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-18 17:13:34 +08:00
[Network] refactoring
This commit is contained in:
@ -96,16 +96,15 @@ namespace NSThreads
|
||||
{
|
||||
friend class CBaseThread;
|
||||
private:
|
||||
HANDLE m_thread;
|
||||
HANDLE m_thread = nullptr;
|
||||
|
||||
public:
|
||||
__native_thread() : CThreadDescriptor()
|
||||
{
|
||||
m_thread = NULL;
|
||||
}
|
||||
virtual ~__native_thread()
|
||||
{
|
||||
if (m_thread != NULL)
|
||||
if (m_thread)
|
||||
{
|
||||
CloseHandle(m_thread);
|
||||
m_thread = NULL;
|
||||
|
||||
Reference in New Issue
Block a user