File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 827e3004851ff28f4394bf62d4a9fe29728ebe70
2
+ refs/heads/master: 4738cf83b05dc02d1f7a364a6e901a1b5a18da20
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ rust_scheduler::fail() {
72
72
name, this );
73
73
I (this , rval == 0 );
74
74
rval = 1 ;
75
+ exit (1 );
75
76
}
76
77
77
78
size_t
Original file line number Diff line number Diff line change @@ -220,8 +220,6 @@ rust_task::fail() {
220
220
backtrace ();
221
221
// Unblock the task so it can unwind.
222
222
unblock ();
223
- if (this == sched->root_task )
224
- sched->fail ();
225
223
if (supervisor) {
226
224
DLOG (sched, task,
227
225
" task %s @0x%" PRIxPTR
@@ -230,7 +228,8 @@ rust_task::fail() {
230
228
supervisor->kill ();
231
229
}
232
230
// FIXME: implement unwinding again.
233
- exit (1 );
231
+ if (this == sched->root_task )
232
+ sched->fail ();
234
233
}
235
234
236
235
void
You can’t perform that action at this time.
0 commit comments