about summary refs log tree commit diff
path: root/src/rt/rust_scheduler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_scheduler.cpp')
-rw-r--r--src/rt/rust_scheduler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_scheduler.cpp b/src/rt/rust_scheduler.cpp
index cf6091818cc..26ceb3bccb3 100644
--- a/src/rt/rust_scheduler.cpp
+++ b/src/rt/rust_scheduler.cpp
@@ -343,7 +343,6 @@ rust_scheduler::create_task(rust_task *spawner, const char *name) {
                         task, spawner ? spawner->name : "null", name);
     if(spawner) {
         task->pin(spawner->pinned_on);
-        task->on_wakeup(spawner->_on_wakeup);
     }
 
     {