Fix stack-use-after-scope

This commit is contained in:
Alexey Rybalchenko
2021-06-24 11:08:52 +02:00
parent 13e5e97a50
commit 2edf61c5a2
2 changed files with 1 additions and 2 deletions

View File

@@ -94,7 +94,6 @@ class Context
{
std::unique_lock<std::mutex> lock(fMtx);
while (fRegionEventsSubscriptionActive) {
while (!fRegionEvents.empty()) {
auto i = fRegionEvents.front();
fRegionEventCallback(i);