aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-18 15:50:10 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-18 15:50:10 +0000
commite6b0d82c2ecec02f8b1cb07dc345faf8731865ce (patch)
tree2e9192e3a40d0de0cf0db104fb44af19952d9dff
parent47037c6ac95189fbeb5fc07cdd8e5ea69c00992a (diff)
downloadmpd-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
-rw-r--r--src/main.c9
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();