mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-24 03:27:46 -05:00
[commands] Rename commands_cmdloop_break to commands_base_destroy and
free commands_base after breaking the libevent loop
This commit is contained in:
@@ -4782,7 +4782,7 @@ void mpd_deinit(void)
|
||||
return;
|
||||
}
|
||||
|
||||
commands_cmdloop_exit(cmdbase);
|
||||
commands_base_destroy(cmdbase);
|
||||
|
||||
ret = pthread_join(tid_mpd, NULL);
|
||||
if (ret != 0)
|
||||
@@ -4808,7 +4808,4 @@ void mpd_deinit(void)
|
||||
|
||||
// Free event base (should free events too)
|
||||
event_base_free(evbase_mpd);
|
||||
|
||||
// Close pipes and free command base
|
||||
commands_base_free(cmdbase);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user