diff --git a/src/inputs/spotify_librespotc.c b/src/inputs/spotify_librespotc.c index dd953354..185f4924 100644 --- a/src/inputs/spotify_librespotc.c +++ b/src/inputs/spotify_librespotc.c @@ -719,6 +719,8 @@ logout(void) librespotc_logout(ctx->session); ctx->session = NULL; + memset(&ctx->status, 0, sizeof(ctx->status)); + pthread_mutex_unlock(&ctx->lock); }