rt: rust_task::conclude_failure doesn't need to call unblock
This commit is contained in:
@@ -330,8 +330,6 @@ rust_task::fail() {
|
|||||||
|
|
||||||
void
|
void
|
||||||
rust_task::conclude_failure() {
|
rust_task::conclude_failure() {
|
||||||
// Unblock the task so it can unwind.
|
|
||||||
unblock();
|
|
||||||
fail_parent();
|
fail_parent();
|
||||||
failed = true;
|
failed = true;
|
||||||
yield(4);
|
yield(4);
|
||||||
|
|||||||
Reference in New Issue
Block a user