diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-08 23:25:11 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-08 23:25:11 +0000 |
commit | 65f836d0ce70b4bc745ded98b66376205d38813c (patch) | |
tree | ca90bde1c437d12bc49af7c13e219086e74ddfc0 /media/player | |
parent | 18beec52826496c4098e243afd64cba7d1fb0959 (diff) | |
download | chromium_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/player')
-rw-r--r-- | media/player/player_wtl.cc | 4 |
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; |