Include stack information for errors caught on another thread.
This commit is contained in:
@@ -400,7 +400,7 @@ class ThreadPool extends WorkOutput
|
|||||||
event.job.doWork.dispatch(event.job.state, output);
|
event.job.doWork.dispatch(event.job.state, output);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (e:Dynamic)
|
catch (e:#if (haxe_ver >= 4.1) haxe.Exception #else Dynamic #end)
|
||||||
{
|
{
|
||||||
output.sendError(e);
|
output.sendError(e);
|
||||||
}
|
}
|
||||||
@@ -494,7 +494,7 @@ class ThreadPool extends WorkOutput
|
|||||||
}
|
}
|
||||||
while (!__jobComplete.value && timeElapsed < __workPerFrame);
|
while (!__jobComplete.value && timeElapsed < __workPerFrame);
|
||||||
}
|
}
|
||||||
catch (e:Dynamic)
|
catch (e:#if (haxe_ver >= 4.1) haxe.Exception #else Dynamic #end)
|
||||||
{
|
{
|
||||||
sendError(e);
|
sendError(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user