Skip to content

refresh_networks helper for proper scanning; adjusted polling …#50

Merged
cachebag merged 1 commit intomasterfrom
dev
Nov 10, 2025
Merged

refresh_networks helper for proper scanning; adjusted polling …#50
cachebag merged 1 commit intomasterfrom
dev

Conversation

@cachebag
Copy link
Owner

Changes

  • Fixed race condition in both async blocks of build_header to instead grab network instance from new helper refresh_networks
  • Wrapped scanning behavior in Rc to ensure atomic access and prevent concurrent scan overlaps across async contexts, avoiding duplicate or out-of-order network list population during initialization.

This should fix issues where the incorrect order/amount of networks would show up upon launch of the program

@cachebag cachebag added this to the Beta milestone Nov 10, 2025
@cachebag cachebag self-assigned this Nov 10, 2025
@cachebag cachebag added the bug Something isn't working label Nov 10, 2025
@cachebag cachebag merged commit c33e56f into master Nov 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant