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

Clarify Discord flatpak conifguration - #14

Merged
ImDevinC merged 1 commit into
ImDevinC:mainfrom
Mephi00:patch-1
Dec 25, 2024
Merged

ImDevinC merged 1 commit into
ImDevinC:mainfrom
Mephi00:patch-1

Conversation

@Mephi00

@Mephi00 Mephi00 commented Dec 25, 2024

Copy link
Copy Markdown
Contributor

I spent way longer than I want to admit to figure out, why the plugin would get a ERR 111: connection refused.
Please consider this change to spare others my misery of figuring this out.

@ImDevinC

Copy link
Copy Markdown
Owner

Thanks for this! The paragraph below what you added includes how to manually do this, but your way is much cleaner

@ImDevinC
ImDevinC merged commit ac319ae into ImDevinC:main Dec 25, 2024
@Mephi00
Mephi00 deleted the patch-1 branch March 10, 2025 17:58
ImDevinC added a commit that referenced this pull request Dec 27, 2025
Add unregister_callback method and track callbacks for cleanup
to prevent memory leaks when actions are destroyed.

Changes:
- backend.py: Add unregister_callback() method
- actions/DiscordCore.py: Add callback tracking list
- actions/DiscordCore.py: Add register_backend_callback() helper
- actions/DiscordCore.py: Add cleanup_callbacks() method
- actions/DiscordCore.py: Add __del__() for automatic cleanup
- actions/Mute.py: Use register_backend_callback()
- actions/Deafen.py: Use register_backend_callback()
- actions/TogglePTT.py: Use register_backend_callback()
- actions/ChangeVoiceChannel.py: Use register_backend_callback()

Impact: Prevents memory leak in long-running sessions

Resolves issue #14 from RESEARCH.md Phase 3
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