player/Thread: wake up the main thread after failed seek
Fixes deadlock bug. Closes #210
This commit is contained in:
parent
ce2b6dc84d
commit
73ddbcc876
@ -256,8 +256,12 @@ private:
|
||||
bool SeekDecoder() noexcept;
|
||||
|
||||
void CancelPendingSeek() noexcept {
|
||||
if (!pc.seeking)
|
||||
return;
|
||||
|
||||
pending_seek = SongTime::zero();
|
||||
pc.seeking = false;
|
||||
pc.ClientSignal();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user