summaryrefslogtreecommitdiffstats
path: root/media/player
diff options
context:
space:
mode:
Diffstat (limited to 'media/player')
-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;