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

worker.mixin.RemoteMethodAccess: accessing new main threads too early #5577

Open
tobiu opened this issue Jul 15, 2024 · 3 comments
Open

worker.mixin.RemoteMethodAccess: accessing new main threads too early #5577

tobiu opened this issue Jul 15, 2024 · 3 comments
Assignees
Labels
bug Something isn't working no auto close

Comments

@tobiu
Copy link
Collaborator

tobiu commented Jul 15, 2024

It is an edge-case bug which does happen inside our colors app websocket demo:
Screenshot 2024-07-15 at 19 07 46

the app worker tries to send messages to the new main thread => loading theme files, before these remotes have been registered.

2 options:

  1. debug the "app is ready" => connect event to ensure it fires once all main thread addons are ready.
  2. if a namespace does not exist yet, try again 100(?)ms later
@tobiu tobiu added the bug Something isn't working label Jul 15, 2024
@tobiu tobiu self-assigned this Jul 15, 2024
Copy link

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the stale label Oct 14, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2024
@github-project-automation github-project-automation bot moved this from To do to Done in Portal & LearningSection Oct 28, 2024
@tobiu tobiu reopened this Oct 28, 2024
@github-project-automation github-project-automation bot moved this from Done to In progress in Portal & LearningSection Oct 28, 2024
@tobiu tobiu added no auto close and removed stale labels Oct 28, 2024
@tobiu
Copy link
Collaborator Author

tobiu commented Oct 28, 2024

this one must not auto close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no auto close
Projects
Status: In progress
Development

No branches or pull requests

1 participant