summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 23:25:11 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 23:25:11 +0000
commit65f836d0ce70b4bc745ded98b66376205d38813c (patch)
treeca90bde1c437d12bc49af7c13e219086e74ddfc0 /media
parent18beec52826496c4098e243afd64cba7d1fb0959 (diff)
downloadchromium_src-65f836d0ce70b4bc745ded98b66376205d38813c.zip
chromium_src-65f836d0ce70b4bc745ded98b66376205d38813c.tar.gz
chromium_src-65f836d0ce70b4bc745ded98b66376205d38813c.tar.bz2
Call AtExitManager earlier in player app to avoid hitting DCHECKs.
TBR=fbarchard Review URL: http://codereview.chromium.org/115148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/player/player_wtl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/player/player_wtl.cc b/media/player/player_wtl.cc
index 0c2bb6b..46d0cea 100644
--- a/media/player/player_wtl.cc
+++ b/media/player/player_wtl.cc
@@ -45,6 +45,8 @@
CAppModule g_module;
int Run(wchar_t* cmd_line, int cmd_show) {
+ base::AtExitManager exit_manager;
+
CMessageLoop the_loop;
g_module.AddMessageLoop(&the_loop);
@@ -56,8 +58,6 @@ int Run(wchar_t* cmd_line, int cmd_show) {
wnd_main.ShowWindow(cmd_show);
- base::AtExitManager exit_manager;
-
wchar_t* url = NULL;
if (cmd_line && *cmd_line) {
url = cmd_line;