diff options
author | Martin Lucina <mato@kotelna.sk> | 2011-05-09 11:20:08 +0200 |
---|---|---|
committer | Martin Lucina <martin@lucina.net> | 2012-01-23 08:53:47 +0100 |
commit | f34d1599a651dd0b8feba2397f87629733988384 (patch) | |
tree | 07694c4ed96bf7b0ecadebc76d6da3f6c0125219 /src/thread.cpp | |
parent | 8eea9178e40abf16c0e469465a58fba3beaaf754 (diff) | |
parent | cbaa7cfa93893876e4fd8794b6ea39f4d245b6b5 (diff) |
Imported Debian patch 2.1.6-1debian/2.1.6-1
Diffstat (limited to 'src/thread.cpp')
-rw-r--r-- | src/thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread.cpp b/src/thread.cpp index 12a72e2..7bf9df0 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -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 (rc2 != 0); } #else |