Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Listener removes itself from Signal._link #63

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

heuer
Copy link
Contributor

@heuer heuer commented Apr 12, 2024

On removal Listener removes

  • itself from Signal._link
  • sets the reference to the signal to None
  • sets the reference to the notify callback to None

Added test case for the issue.

Closes #61

Fixed Signal constructor with no pointer:

  • self._ptr uses wl_signal instead of wl_listener
  • Added wl_signal_init to ffibuild.

Closes #62

On removal Listener removes
* itself from Signal._link
* sets the reference to the signal to None
* sets the reference to the notify callback to None

Added test case for the issue.

Closes flacjacket#61

Fixed Signal constructor with no pointer:
* self._ptr uses wl_signal instead of wl_listener
* Added wl_signal_init to ffibuild.

Closes flacjacket#62
@flacjacket flacjacket merged commit 17b5cd2 into flacjacket:main Jul 26, 2024
@flacjacket
Copy link
Owner

It looks like this broke the CI, and led to a segfault when it was running in the Github action, so I rolled this change back.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants