diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2006-07-18 15:50:10 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2006-07-18 15:50:10 +0000 |
commit | e6b0d82c2ecec02f8b1cb07dc345faf8731865ce (patch) | |
tree | 2e9192e3a40d0de0cf0db104fb44af19952d9dff /src/main.c | |
parent | 47037c6ac95189fbeb5fc07cdd8e5ea69c00992a (diff) | |
download | mpd-e6b0d82c2ecec02f8b1cb07dc345faf8731865ce.tar.gz mpd-e6b0d82c2ecec02f8b1cb07dc345faf8731865ce.tar.xz mpd-e6b0d82c2ecec02f8b1cb07dc345faf8731865ce.zip |
Don't bother freeing a bunch of stuff at exit, since it takes far too long and accomplishes nothing.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4396 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index bd94f4344..807ce642a 100644 --- a/src/main.c +++ b/src/main.c @@ -613,10 +613,13 @@ int main(int argc, char * argv[]) { savePlaylistState(); saveAudioDevicesState(); - freeAllInterfaces(); - closeAllListenSockets(); - closeMp3Directory(); + closeAllListenSockets(); + + /* This slows shutdown immensely, and doesn't really accomplish + * anything. Uncomment when we rewrite tagTracker to use a tree. */ + /*closeMp3Directory();*/ + finishPlaylist(); freePlayerData(); finishAudioDriver(); |