Main: stop io_thread and rtio_thread automatically

They will be stopped by ~EventThread() when the `Instance` is deleted.
This commit is contained in:
Max Kellermann 2019-02-05 21:49:59 +01:00
parent c9ba4f3f9c
commit 848f6aa5ab
1 changed files with 0 additions and 3 deletions

View File

@ -672,9 +672,6 @@ mpd_main_after_fork(const ConfigData &raw_config, const Config &config)
command_finish(); command_finish();
decoder_plugin_deinit_all(); decoder_plugin_deinit_all();
instance->rtio_thread.Stop();
instance->io_thread.Stop();
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }