summaryrefslogtreecommitdiffstats
path: root/sandbox/src
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/src')
-rw-r--r--sandbox/src/win2k_threadpool.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sandbox/src/win2k_threadpool.cc b/sandbox/src/win2k_threadpool.cc
index 296ec379..2882e3d 100644
--- a/sandbox/src/win2k_threadpool.cc
+++ b/sandbox/src/win2k_threadpool.cc
@@ -59,6 +59,7 @@ Win2kThreadPool::~Win2kThreadPool() {
// Here we used to unregister all the pool wait handles. Now, following the
// rest of the code we avoid lengthy or blocking calls given that the process
// is being torn down.
+ ::DeleteCriticalSection(&lock_);
}
} // namespace sandbox \ No newline at end of file