autoproxy: make async really async

This commit is contained in:
sehraf 2020-05-21 10:17:13 +02:00
parent b6a550b8f5
commit 9a5504bb47
No known key found for this signature in database
GPG Key ID: DF09F6EAE356B2C6

View File

@ -174,7 +174,11 @@ void rsAutoProxyMonitor::task(taskTicket *ticket)
*tt = *ticket;
tt->types.clear();
tt->types.push_back(*it);
s->processTaskAsync(tt);
// it's async!
RsThread::async([s, tt] {
s->processTaskAsync(tt);
});
} else {
s->processTaskSync(ticket);
}