Fix error on starting task to continue if it has been canceled

This commit is contained in:
Wojtek Figat
2021-02-21 15:01:03 +01:00
parent 12c503646d
commit 3bc99c0949

View File

@@ -10,7 +10,8 @@
void Task::Start()
{
ASSERT(GetState() == TaskState::Created);
if (_state != TaskState::Created)
return;
OnStart();