Fix goofy ah deadlock

main
DaXcess 2022-11-23 20:13:28 +01:00
parent a53c885b6c
commit 490d582322
No known key found for this signature in database
GPG Key ID: CF78CC72F0FD5EAD
1 changed files with 4 additions and 2 deletions

View File

@ -368,8 +368,10 @@ impl SpoticordSession {
IpcPacket::Stopped => {
check_result(track.pause());
{
let mut inner = inner.write().await;
inner.playback_info.take();
}
instance.start_disconnect_timer().await;
}