diff options
author | dalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-26 04:15:25 +0000 |
---|---|---|
committer | dalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-26 04:15:25 +0000 |
commit | b55d24ae87d4f7287771d71c0d53346536dd0300 (patch) | |
tree | 208a88469189e48b0a23a175b0777b7450e6dd0d /content/renderer | |
parent | ccb4926039d6e9d353997e2da228355b6020fd3c (diff) | |
download | chromium_src-b55d24ae87d4f7287771d71c0d53346536dd0300.zip chromium_src-b55d24ae87d4f7287771d71c0d53346536dd0300.tar.gz chromium_src-b55d24ae87d4f7287771d71c0d53346536dd0300.tar.bz2 |
Stop streams on OSX prior to shutdown.
Since CoreAudio calls have to run on the UI thread and browser shutdown
doesn't wait for outstanding tasks to complete, we may have input/output
streams still running at shutdown.
To avoid calls into destructed classes, we need to stop the OS callbacks
by stopping the streams. Note: The streams are leaked since process
destruction is imminent.
This patch adds some stream creation and destruction observation and
stops the streams during ShutdownOnAudioThread().
BUG=354139
TEST=none
Review URL: https://codereview.chromium.org/196143008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer')
0 files changed, 0 insertions, 0 deletions