[*] Mitigate reported issue: QTBUG-120762 (use after free)
Change-Id: Idafa182c76fe69e66c13389253481d1c9c4d8716
This commit is contained in:
parent
7b8a03106c
commit
a5b41489e5
@ -408,8 +408,8 @@ void QSemaphore::release(int n)
|
||||
{
|
||||
const auto locker = qt_scoped_lock(d->mutex);
|
||||
d->avail += n;
|
||||
d->cond.notify_all();
|
||||
}
|
||||
d->cond.notify_all();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user