Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.

Drive trays message queue from existing main loop.#6

Open
dicroce wants to merge 19 commits intoSoundux:masterfrom
dicroce:master
Open

Drive trays message queue from existing main loop.#6
dicroce wants to merge 19 commits intoSoundux:masterfrom
dicroce:master

Conversation

@dicroce
Copy link

@dicroce dicroce commented Mar 22, 2022

Allow trays message queue to be drive from an existing main loop.

@dicroce
Copy link
Author

dicroce commented Mar 23, 2022

This change allows someone to avoid creating a thread just to call tray run()... instead you can just call tray->pump() somewhere in your main loop.

dicroce and others added 18 commits June 15, 2022 15:10
Fix macOS implementation and build issues
Store getText() result in std::string before calling c_str() to prevent
use-after-free of temporary string object.
Fix segfault from dangling pointer in button text handling
Nil out the status item button's image before releasing the status item
to prevent the Icon destructor from calling CFRelease on an already-freed
NSImage.
Nil out the status item button's image before releasing the status item
to prevent the Icon destructor from calling CFRelease on an already-freed
NSImage.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants