Skip to content

Commit

Permalink
fix: Resolve lifetime and move issues in FreenetApiSynchronizer
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Dec 25, 2024
1 parent 2b808a1 commit d51387a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/components/app/freenet_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ impl FreenetApiSynchronizer {

// Start the sync coroutine
use_coroutine(move |mut rx| {
let request_sender_clone = request_sender.clone();
async move {
*SYNC_STATUS.write() = SyncStatus::Connecting;

Expand Down

0 comments on commit d51387a

Please sign in to comment.