Commit 10827498 authored by Elvin Sindrilaru's avatar Elvin Sindrilaru

MGM: Add missing mutex unlock in the drainer

parent e71d3201
......@@ -359,6 +359,8 @@ Drainer::Drain(ThreadAssistant& assistant) noexcept
}
}
}
FsView::gFsView.ViewMutex.UnLockRead();
}
while (!assistant.terminationRequested()) {
......@@ -404,6 +406,7 @@ Drainer::Drain(ThreadAssistant& assistant) noexcept
// Process pending drain jobs
HandleQueued();
FsView::gFsView.ViewMutex.UnLockRead();
}
StopDrainFs();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment