mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 21:49:48 -05:00
[spotify] Clear spotify_status on logout (clears logged_in and username)
This commit is contained in:
@@ -719,6 +719,8 @@ logout(void)
|
|||||||
librespotc_logout(ctx->session);
|
librespotc_logout(ctx->session);
|
||||||
ctx->session = NULL;
|
ctx->session = NULL;
|
||||||
|
|
||||||
|
memset(&ctx->status, 0, sizeof(ctx->status));
|
||||||
|
|
||||||
pthread_mutex_unlock(&ctx->lock);
|
pthread_mutex_unlock(&ctx->lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user