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

Fix type of unregisterMessageListener #54

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Conversation

emlun
Copy link
Member

@emlun emlun commented Sep 21, 2023

I'm not entirely sure about this, but it looks to me like unregisterMessageListener is intended to be a function that resolves to a Promise - but it is actually just the resulting Promise, which sometimes causes crashes with the error unregisterMessageListener is not callable.

@gkatrakazas gkatrakazas merged commit 89615e7 into master Sep 22, 2023
0 of 2 checks passed
@emlun emlun deleted the unregisterMessageListener branch September 22, 2023 14:59
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.

None yet

2 participants