Skip to content

Fix: Re-strip events from disposed Blizzard action buttons on re-Show - #2079

Open
svart2521 wants to merge 1 commit into
EllesmereGaming:mainfrom
svart2521:actionbar-shared-lua-error
Open

Fix: Re-strip events from disposed Blizzard action buttons on re-Show#2079
svart2521 wants to merge 1 commit into
EllesmereGaming:mainfrom
svart2521:actionbar-shared-lua-error

Conversation

@svart2521

Copy link
Copy Markdown
Contributor

Bug: https://discord.com/channels/585577383847788554/1545795450811056130

Issue: Blizzard's periodic re-init of a disposed MultiBarBottomLeft button (hidden via QuietlyHideBlizzButton) re-registers its default events onto an already-tainted button, so the next native cooldown update rejects secret start/duration values with "bad argument #1 to SetCooldown".
Fix: Mirrored the existing bar-level OnShow re-hide hook onto QuietlyHideBlizzButton itself, so a button's own re-init gets silently re-stripped of events too.

Bug:

Issue: Blizzard's periodic re-init of a disposed MultiBarBottomLeft button (hidden via QuietlyHideBlizzButton) re-registers its default events onto an already-tainted button, so the next native cooldown update rejects secret start/duration values with "bad argument #1 to SetCooldown".
Fix: Mirrored the existing bar-level OnShow re-hide hook onto QuietlyHideBlizzButton itself, so a button's own re-init gets silently re-stripped of events too.
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.

1 participant