diff options
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 1bf62e42f01..86dfb3b666f 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -482,11 +482,11 @@ rust_task::fail_parent() { void rust_task::unsupervise() { - DLOG(sched, task, + if (supervisor) { + DLOG(sched, task, "task %s @0x%" PRIxPTR " disconnecting from supervisor %s @0x%" PRIxPTR, name, this, supervisor->name, supervisor); - if (supervisor) { supervisor->deref(); } supervisor = NULL; |
