We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f5f9bc commit 94208a5Copy full SHA for 94208a5
compio-runtime/src/runtime/mod.rs
@@ -90,8 +90,11 @@ impl RuntimeInner {
90
}
91
92
pub fn run(&self) {
93
+ use std::ops::Deref;
94
+
95
+ let local_runnables = self.local_runnables.deref().deref();
96
loop {
- let next_task = self.local_runnables.borrow_mut().pop_front();
97
+ let next_task = local_runnables.borrow_mut().pop_front();
98
let has_local_task = next_task.is_some();
99
if let Some(task) = next_task {
100
task.run();
0 commit comments