diff options
author | bryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-20 02:01:04 +0000 |
---|---|---|
committer | bryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-20 02:01:04 +0000 |
commit | 51ac040769ee6aaaccc0d6e3d80459d115622c49 (patch) | |
tree | fc638eb4263a1b18e100138be4f5fb9b335fd971 /chrome/app/theme/notification_update.png | |
parent | 8574bfc817ff84bd9fc6ba4e2453a7c7a7b2df3b (diff) | |
download | chromium_src-51ac040769ee6aaaccc0d6e3d80459d115622c49.zip chromium_src-51ac040769ee6aaaccc0d6e3d80459d115622c49.tar.gz chromium_src-51ac040769ee6aaaccc0d6e3d80459d115622c49.tar.bz2 |
Fix a possible crash in the ClientSideDetectionService.
This fixes a problem where if the model fetch is still running when the
ClientSideDetectionService is destroyed, the URLFetcher is not deleted.
This could potentially cause the OnURLFetchComplete callback to be called
on a deleted ClientSideDetectionService object.
Now the model fetcher will always be deleted, and we will also make sure to
destroy the ClientSideDetectionService before tearing down the IO thread
(since the URLFetcher dtor can post messages there).
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6298004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71901 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/theme/notification_update.png')
0 files changed, 0 insertions, 0 deletions