[-] Legacy Engine 0.0/1.0 Async
This commit is contained in:
parent
a3c6b5b4ba
commit
ae885c3784
@ -120,13 +120,13 @@ AuSPtr<AuRPCServerChannel> AuRPCServer::NewChannel()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
AuAsync::NewWorkItem(this->worker, AuMakeShared<AuAsync::BasicWorkStdFunc>([&]()
|
DispatchOn(this->worker, [&]()
|
||||||
{
|
{
|
||||||
if (!eh->Init())
|
if (!eh->Init())
|
||||||
{
|
{
|
||||||
eh.reset();
|
eh.reset();
|
||||||
}
|
}
|
||||||
}), true)->Dispatch()->BlockUntilComplete();
|
})->BlockUntilComplete();
|
||||||
}
|
}
|
||||||
|
|
||||||
return eh;
|
return eh;
|
||||||
|
Loading…
Reference in New Issue
Block a user