Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Bug]: __JUCE__.backend.removeEventListener is not working correclty #1500

Open
1 task done
lackhole opened this issue Jan 16, 2025 · 0 comments
Open
1 task done

[Bug]: __JUCE__.backend.removeEventListener is not working correclty #1500

lackhole opened this issue Jan 16, 2025 · 0 comments

Comments

@lackhole
Copy link

Detailed steps on how to reproduce the bug

Run WebViewPluginDemo_Standalone and attach a debug breakpoint to SpectrumDataReceiver.unregister()

What is the expected behaviour?

removeEventListener should remove listener as expected.

How to fix:

EventListenerList::removeEventListener should be removeEventListener(eventId, id), not removeEventListener([eventId, id])

  • modules/juce_gui_extra/native/javascript/check_native_interop.js
  • modules/juce_gui_extra/misc/juce_WebBrowserComponent.cpp

Operating systems

macOS

What versions of the operating systems?

Sonoma 14.5

Architectures

Arm64/aarch64

Stacktrace

No response

Plug-in formats (if applicable)

No response

Plug-in host applications (DAWs) (if applicable)

No response

Testing on the develop branch

The bug is present on the develop branch

Code of Conduct

  • I agree to follow the Code of Conduct
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

No branches or pull requests

1 participant