mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 00:19:30 -05:00
autoproxy: make async really async
This commit is contained in:
parent
b6a550b8f5
commit
9a5504bb47
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user