There was an error while loading. Please reload this page.
2 parents 81495c6 + 1bea7a8 commit 7439528Copy full SHA for 7439528
lightning/src/util/wakers.rs
@@ -146,7 +146,7 @@ fn complete_future(this: &Arc<Mutex<FutureState>>) -> bool {
146
state.callbacks_made = true;
147
}
148
for (_, waker) in state.std_future_callbacks.drain(..) {
149
-waker.0.wake_by_ref();
+waker.0.wake();
150
151
for callback in state.callbacks_with_state.drain(..) {
152
(callback)(this);
0 commit comments