Fixed wrong uv loop in p2pserver::flush_cache()

pull/5/head
SChernykh 2021-08-25 11:31:50 +02:00
parent fcb9e25fb1
commit dbf18c34a4
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ void P2PServer::flush_cache()
work->req.data = work;
work->cache = m_cache;
const int err = uv_queue_work(uv_default_loop(), &work->req,
const int err = uv_queue_work(&m_loop, &work->req,
[](uv_work_t* req)
{
bkg_jobs_tracker.start("P2PServer::flush_cache");