aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/output/jack_plugin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/output/jack_plugin.c b/src/output/jack_plugin.c
index 1aea92d86..7655da193 100644
--- a/src/output/jack_plugin.c
+++ b/src/output/jack_plugin.c
@@ -385,9 +385,7 @@ mpd_jack_play(void *data, const char *buff, size_t size)
if (jd->shutdown) {
g_warning("Refusing to play, because there is no client thread.");
- mpd_jack_client_free(jd);
- audio_output_closed(jd->ao);
- return true;
+ return false;
}
assert(size % frame_size == 0);