[*] Permit unbacked IWorkItems
This commit is contained in:
parent
3fb8e2bf8c
commit
6e5905b80a
@ -294,11 +294,6 @@ namespace Aurora::Async
|
||||
|
||||
AUKN_SYM AuSPtr<IWorkItem> NewWorkItem(const WorkerId_t &worker, const AuSPtr<IWorkItemHandler> &task, bool supportsBlocking)
|
||||
{
|
||||
if (!task)
|
||||
{
|
||||
SysPushErrorNested("Constructed workitem with a null task. running on stack and reserve heaps alone?");
|
||||
return {};
|
||||
}
|
||||
return AuMakeShared<WorkItem>(worker, task, supportsBlocking);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user