output_all: disable outputs on shutdown
Call output_plugin.disable() before output_plugin.finish(). This ensures that all outputs are properly cleaned up, to make valgrind happy.
This commit is contained in:
parent
a39e6b43e8
commit
39e42394bd
@ -145,6 +145,7 @@ audio_output_all_finish(void)
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < num_audio_outputs; i++) {
|
||||
audio_output_disable(&audio_outputs[i]);
|
||||
audio_output_finish(&audio_outputs[i]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user