summaryrefslogtreecommitdiff
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-02-05 21:49:59 +0100
committerMax Kellermann <max@musicpd.org>2019-02-05 21:49:59 +0100
commit848f6aa5ab4d15289248646b60f11b5cf508b46d (patch)
treecab9b48c46bec47cc8505b76a2e2300e43d5d6a6 /src/Main.cxx
parentc9ba4f3f9ca99742e25503be15963a96c0a9e356 (diff)
Main: stop io_thread and rtio_thread automatically
They will be stopped by ~EventThread() when the `Instance` is deleted.
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index d86da37aa..a932a50ce 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -672,9 +672,6 @@ mpd_main_after_fork(const ConfigData &raw_config, const Config &config)
command_finish();
decoder_plugin_deinit_all();
- instance->rtio_thread.Stop();
- instance->io_thread.Stop();
-
return EXIT_SUCCESS;
}