diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-01-06 16:18:33 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-01-06 16:18:56 -0800 |
| commit | 2f4c9315af5b02e6f9ef3df8512f1b0814417ea0 (patch) | |
| tree | dce84cb0cf45193c2764a3a7ee87df062f38ca64 /src/rt/rust_task.cpp | |
| parent | 7c7559edafcdde2d96781a34af1280fdd1dee6bd (diff) | |
| download | rust-2f4c9315af5b02e6f9ef3df8512f1b0814417ea0.tar.gz rust-2f4c9315af5b02e6f9ef3df8512f1b0814417ea0.zip | |
rt: Fail the scheduler immediately on task failure in win32
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 92f24c8c7fa..2bf4c42a277 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -457,6 +457,8 @@ rust_task::fail() { #else die(); conclude_failure(); + // FIXME: Need unwinding on windows. This will end up aborting + sched->fail(); #endif } |
