[-] Legacy Engine 0.0/1.0 Async

This commit is contained in:
Reece Wilson 2023-09-22 04:45:57 +01:00
parent a3c6b5b4ba
commit ae885c3784

View File

@ -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;