mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1571] [MERGED] fix(bar): update the network widget in separate threads #1467
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1571
Author: @CtByte
Created: 10/3/2025
Status: ✅ Merged
Merged: 11/23/2025
Merged by: @LGUG2Z
Base:
master← Head:fix/network_thread📝 Commits (1)
14b6550fix(bar): update the network widget in a separate thread📊 Changes
1 file changed (+108 additions, -51 deletions)
View changed files
📝
komorebi-bar/src/widgets/network.rs(+108 -51)📄 Description
This commit changes the way how the default interface and network activity is loaded by spawning a new thread on each request. This way the main thread is not blocked by this process.
There has been instances where getting the default interface blocked the egui ui thread, resulting in a frozen bar.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.