mirror of https://gitee.com/bigwinds/arangodb
fix: add missing mutex
This commit is contained in:
parent
7996b2c152
commit
d5a64253ec
|
@ -41,6 +41,7 @@ Mutex V8PeriodicTask::RUNNING_LOCK;
|
|||
|
||||
void V8PeriodicTask::jobDone(Task* task) {
|
||||
try {
|
||||
MUTEX_LOCKER(guard, V8PeriodicTask::RUNNING_LOCK);
|
||||
RUNNING.erase(task);
|
||||
} catch (...) {
|
||||
// ignore any memory error
|
||||
|
|
Loading…
Reference in New Issue