mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 22:55:04 -04:00
autoproxy: make async really async
This commit is contained in:
parent
b6a550b8f5
commit
9a5504bb47
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue