mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 08:46:44 +01:00
Merge pull request #489 from pijyoi/master
win32: fix Event handle leak
This commit is contained in:
commit
8dda553ac4
@ -326,6 +326,10 @@ int zmq::signaler_t::make_fdpair (fd_t *r_, fd_t *w_)
|
||||
brc = SetEvent (sync);
|
||||
win_assert (brc != 0);
|
||||
|
||||
// Release the kernel object
|
||||
brc = CloseHandle (sync);
|
||||
win_assert (brc != 0);
|
||||
|
||||
return 0;
|
||||
|
||||
#elif defined ZMQ_HAVE_OPENVMS
|
||||
|
Loading…
x
Reference in New Issue
Block a user