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

native-messaging example does not show how to correctly use Port.disconnect() #393

Open
paul-hammant opened this issue Oct 21, 2018 · 1 comment
Labels
example New or updated example idle Issues and pull requests with no activity for three months.

Comments

@paul-hammant
Copy link

Ref: https://github.com/mdn/webextensions-examples/blob/master/native-messaging/add-on/background.js

And perhaps it should. Python-side too.

@guest271314
Copy link
Contributor

I encountered a case on Chromium 96 where Port.disconnect() does not immediately disconnect the port - onMessage handler is still dispatched after disconnect() is called.

@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Jan 4, 2023
@rebloor rebloor added the example New or updated example label Jun 24, 2023
@github-actions github-actions bot removed the idle Issues and pull requests with no activity for three months. label Jun 25, 2023
@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example New or updated example idle Issues and pull requests with no activity for three months.
Projects
None yet
Development

No branches or pull requests

3 participants