]> git.lizzy.rs Git - rust.git/commitdiff
rt: Fail the scheduler immediately on task failure in win32
authorBrian Anderson <banderson@mozilla.com>
Sat, 7 Jan 2012 00:18:33 +0000 (16:18 -0800)
committerBrian Anderson <banderson@mozilla.com>
Sat, 7 Jan 2012 00:18:56 +0000 (16:18 -0800)
src/rt/rust_task.cpp

index 92f24c8c7fa6bcb68d7136bb769062ff7d5d6a1c..2bf4c42a27750984a282e305793d5b611207668b 100644 (file)
@@ -457,6 +457,8 @@ rust_task::fail() {
 #else
     die();
     conclude_failure();
+    // FIXME: Need unwinding on windows. This will end up aborting
+    sched->fail();
 #endif
 }