diff options
Diffstat (limited to 'cpp/include/IceUtil/Thread.h')
-rw-r--r-- | cpp/include/IceUtil/Thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/include/IceUtil/Thread.h b/cpp/include/IceUtil/Thread.h index cb821fc491c..55f1689f73a 100644 --- a/cpp/include/IceUtil/Thread.h +++ b/cpp/include/IceUtil/Thread.h @@ -18,12 +18,14 @@ namespace IceUtil { #ifdef WIN32 +// TODO: Should not be inlined, not performance critical. struct HandleWrapper : public Shared { HandleWrapper(HANDLE h) : handle(h) { } + ~HandleWrapper() { if (handle != 0) |