[*] Permit unbacked IWorkItems

This commit is contained in:
Reece Wilson 2021-09-30 11:29:18 +01:00
parent 3fb8e2bf8c
commit 6e5905b80a

View File

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