-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple instance? #15
Comments
Likely related to this issue in Ironbar: JakeStanger/ironbar#854 I suspect something to do with reloading is causing items to be re-fetched without being correctly dropped first. |
maybe we can let user to maintain the item themselves, it saves memory if user has to process the data after an event. make item a feature, user can still use it when adding /// Client for watching the tray.
#[derive(Debug)]
pub struct Client {
tx: broadcast::Sender<Event>,
_rx: broadcast::Receiver<Event>,
connection: Connection,
#[cfg(feature = "data")]
items: Arc<Mutex<State>>,
} |
I am assuming that #17 fixes this. If it doesn't, let me know and I can re-open. We could potentially put the internal items map behind a feature flag to reduce memory, I'd be happy for that to be added. |
i see this after i reload my widgets, which calls
client.items()
this is weird...
i do call nm-applet and xwaylandvideobridge a lot of times to test, but i've killed the process after the test and this does not happen before i reload my widgets.
The text was updated successfully, but these errors were encountered: