mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +01:00
Fixed memory leak with threads on win32
Signed-off-by: Pieter Hintjens <ph@imatix.com>
This commit is contained in:
parent
85c2a84036
commit
3e655227bd
@ -47,6 +47,8 @@ void zmq::thread_t::stop ()
|
||||
{
|
||||
DWORD rc = WaitForSingleObject (descriptor, INFINITE);
|
||||
win_assert (rc != WAIT_FAILED);
|
||||
BOOL rc2 = CloseHandle (descriptor);
|
||||
win_assert (rc != 0);
|
||||
}
|
||||
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user