diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 01:47:31 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 01:47:31 +0000 |
commit | 00e1a962f20c2093aea32559d6266458e8081043 (patch) | |
tree | 22233bc08f9c32488dc605e35fca3194ddbd208e /sandbox/src | |
parent | f0cc545cfe6f691c16399c27cb5994c158e439f6 (diff) | |
download | chromium_src-00e1a962f20c2093aea32559d6266458e8081043.zip chromium_src-00e1a962f20c2093aea32559d6266458e8081043.tar.gz chromium_src-00e1a962f20c2093aea32559d6266458e8081043.tar.bz2 |
We need to delete this critical section otherwise
application verifier warns all the time.
Review URL: http://codereview.chromium.org/11408
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/src')
-rw-r--r-- | sandbox/src/win2k_threadpool.cc | 1 |
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 |