]> git.bitcoin.ninja Git - rust-lightning/commit
Hold a reference to the `Arc<FutureState>` when completing futures
authorMatt Corallo <git@bluematt.me>
Wed, 26 Apr 2023 04:29:59 +0000 (04:29 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 26 Apr 2023 17:38:04 +0000 (17:38 +0000)
commiteffcc8ad862a63f8a39e9e0aee4e29b418c469ec
treea8dbd50fd1a95f4e6b04b11da8df2a8133b56aa4
parent53c48c1c8f3f2145cff01e96f0912bbf7e4e4537
Hold a reference to the `Arc<FutureState>` when completing futures

This will allow us to pass in that state to the callbacks in the
next commit.
lightning/src/util/wakers.rs