diff options
author | Max Kellermann <max@duempel.org> | 2008-09-18 09:44:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-18 09:44:01 +0200 |
commit | 919cebb0bcd44170a7dd773717eefa1e515d628c (patch) | |
tree | 379f32627c1a8859022822020c1bd2dc48672ab3 /src/screen.c | |
parent | 97aa8b3d2af61beab67ca4882251ce68582b95b6 (diff) | |
download | mpd-919cebb0bcd44170a7dd773717eefa1e515d628c.tar.gz mpd-919cebb0bcd44170a7dd773717eefa1e515d628c.tar.xz mpd-919cebb0bcd44170a7dd773717eefa1e515d628c.zip |
quit with g_main_loop_quit()
Call g_main_loop_quit() on CMD_QUIT, instead of exit() with an
atexit() handler.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c index 479b1de5d..e0fa3e1c7 100644 --- a/src/screen.c +++ b/src/screen.c @@ -954,8 +954,6 @@ screen_cmd(mpdclient_t *c, command_t cmd) case CMD_SCREEN_LYRICS: switch_screen_mode(SCREEN_LYRICS_ID, c); break; - case CMD_QUIT: - exit(EXIT_SUCCESS); default: break; } |