mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 16:15:57 -05:00
[spotify] Clear spotify_status on logout (clears logged_in and username)
This commit is contained in:
parent
de2e1b32ed
commit
c4d57aa5d1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user