Main: stop io_thread and rtio_thread automatically
They will be stopped by ~EventThread() when the `Instance` is deleted.
This commit is contained in:
parent
c9ba4f3f9c
commit
848f6aa5ab
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue