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.
wake_by_ref
wake
1 parent cfe2a1e commit 1bea7a8Copy full SHA for 1bea7a8
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