diff options
Diffstat (limited to 'src/Main.cxx')
-rw-r--r-- | src/Main.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index a1a3fe976..42403922c 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -438,7 +438,7 @@ int mpd_main(int argc, char *argv[]) daemonize_set_user(); - GlobalEvents::Initialize(); + GlobalEvents::Initialize(*main_loop); GlobalEvents::Register(GlobalEvents::IDLE, idle_event_emitted); #ifdef WIN32 GlobalEvents::Register(GlobalEvents::SHUTDOWN, shutdown_event_emitted); |