Closed as duplicate of#876
Closed as duplicate of#876
Description
function other() {
throw new haxe.Exception("hi");
}
function main() {
sys.thread.Thread.create(() -> {
other();
trace("Continued past exception!");
});
Sys.sleep(1);
}
When the exception occurs in a different function, the program just continues running past it...
src/CppiaTest.hx:8: Continued past exception!
If the exception is instead thrown in the thread function, then the execution stops as expected.
Metadata
Metadata
Assignees
Labels
No labels