This commit is contained in:
zeromus 2016-08-23 23:35:06 +00:00
parent 166365ab0d
commit 66bc2d1d71
1 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@ void Task::Impl::shutdown()
if(!started) return;
//nobody should shutdown while a task is still running;
//it would imply that we're in some kind of shutdown pricess, and datastructures might be getting freed while someone is still working on it
//nonetheless, _troublingly_, it seems like we do that now, so for now let's try to let that work finish instead of blowing up when it isn't finished
//it would imply that we're in some kind of shutdown process, and datastructures might be getting freed while a worker is still working on it.
//nonetheless, _troublingly_, it seems like we do that now, so for now let's try to let that work finish instead of blowing up when it isn't finished.
//assert(!workFunc);
finish();