diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-17 23:30:00 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-17 23:30:00 +0000 |
commit | b1d571afd4400219ee44bd15ac9cea7f0ff8e31f (patch) | |
tree | 16ba6b09209f7a7da0e18fb5e544d84be73c2c96 /chrome/test/data/downloads | |
parent | f1cbadcd4830901272cf824d9fdc19cd7bf68b86 (diff) | |
download | chromium_src-b1d571afd4400219ee44bd15ac9cea7f0ff8e31f.zip chromium_src-b1d571afd4400219ee44bd15ac9cea7f0ff8e31f.tar.gz chromium_src-b1d571afd4400219ee44bd15ac9cea7f0ff8e31f.tar.bz2 |
PPAPI: Purposely leak ProxyLock, fix shutdown race
This CL:
- Makes callbacks returned by RunWhileLocked acquire the lock when they are destroyed if they are not run. This eliminates some potential race conditions.
- Because MessageLoops can be destroyed after the PpapiGlobals (and thus the ProxyLock), this means we need to make the ProxyLock live longer. So we leak it so that it lives all the way through shutdown.
This issue depends on: https://codereview.chromium.org/19492014/
BUG=
R=yzshen@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222829
Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=222840 (static initializer + content_unittests failure)
Review URL: https://chromiumcodereview.appspot.com/19492014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223738 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/downloads')
0 files changed, 0 insertions, 0 deletions