player/Thread: hold mutex while calling SongBorder()
Eliminates unnecessary mutex locks.
This commit is contained in:
@@ -414,11 +414,6 @@ public:
|
||||
return border_pause;
|
||||
}
|
||||
|
||||
bool LockApplyBorderPause() noexcept {
|
||||
const std::lock_guard<Mutex> lock(mutex);
|
||||
return ApplyBorderPause();
|
||||
}
|
||||
|
||||
void Kill() noexcept;
|
||||
|
||||
gcc_pure
|
||||
|
Reference in New Issue
Block a user