Commit 9da75099 authored by Max Kellermann's avatar Max Kellermann

input/curl: use class ScopeUnlock

parent 36aa2045
......@@ -158,9 +158,8 @@ CurlInputStream::DoResume()
{
assert(GetEventLoop().IsInside());
mutex.unlock();
const ScopeUnlock unlock(mutex);
request->Resume();
mutex.lock();
}
void
......
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