Skip to content

Conversation

@gulafaran
Copy link
Contributor

@gulafaran gulafaran commented Dec 20, 2025

if guard the emitInternal to only create locals if there is actually any listeners.

use forward_as_tuple as ít creates a temporary tuple reference instead
of copying/moving each argument. also if guard the emitInternal to only
create locals if there is actually any listeners.
@gulafaran
Copy link
Contributor Author

was questioning if the copy was needed, the tests failing suggests it might actually be then. ok.

cant use references as signals expect a copy/move.
@gulafaran gulafaran changed the title signals: use tuple reference and check if listeners is empty signals: check if listeners is empty in emitInternal Dec 20, 2025
@vaxerski vaxerski merged commit 51a4f93 into hyprwm:main Dec 20, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants