mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +00:00
Remove unnecessary locks in app::Job
This commit is contained in:
parent
395baa3296
commit
e17804e9ff
@ -87,13 +87,11 @@ void Job::waitJob()
|
||||
|
||||
void Job::jobProgress(double f)
|
||||
{
|
||||
base::scoped_lock hold(*m_mutex);
|
||||
m_last_progress = f;
|
||||
}
|
||||
|
||||
bool Job::isCanceled()
|
||||
{
|
||||
base::scoped_lock hold(*m_mutex);
|
||||
return m_canceled_flag;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user