input/curl: use class ScopeUnlock
This commit is contained in:
parent
36aa204575
commit
9da7509944
|
@ -158,9 +158,8 @@ CurlInputStream::DoResume()
|
|||
{
|
||||
assert(GetEventLoop().IsInside());
|
||||
|
||||
mutex.unlock();
|
||||
const ScopeUnlock unlock(mutex);
|
||||
request->Resume();
|
||||
mutex.lock();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue