Skip to content

Commit d18503a

Browse files
committed
---
yaml --- r: 3936 b: refs/heads/master c: c99e110 h: refs/heads/master v: v3
1 parent 3fa5ce0 commit d18503a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 01a52d728c5058769e6c0939c57579821f238056
2+
refs/heads/master: c99e110119daa3e5cff1a54424c87e3fa4c9b4c5

trunk/src/rt/rust_upcall.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ upcall_fail(rust_task *task,
221221
LOG_UPCALL_ENTRY(task);
222222
LOG_ERR(task, upcall, "upcall fail '%s', %s:%" PRIdPTR, expr, file, line);
223223
task->fail();
224+
task->die();
225+
task->notify_tasks_waiting_to_join();
226+
task->yield(4);
224227
}
225228

226229
/**

0 commit comments

Comments
 (0)