LearnNewsExamplesServices
Frontmatter
id5577
titleworker.mixin.RemoteMethodAccess: accessing new main threads too early
stateOpen
labels
bugno auto close
assigneestobiu
createdAtJul 15, 2024, 7:47 PM
updatedAtMay 16, 2026, 10:50 PM
githubUrlhttps://github.com/neomjs/neo/issues/5577
authortobiu
commentsCount3
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]

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

Openbugno auto close
tobiu
tobiu commented on Jul 15, 2024, 7:47 PM

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 added the bug label on Jul 15, 2024, 7:47 PM
tobiu assigned to @tobiu on Jul 15, 2024, 7:47 PM
tobiu reopened this issue on Oct 28, 2024, 1:24 PM
tobiu removed the stale label on Oct 28, 2024, 1:24 PM
tobiu added the no auto close label on Oct 28, 2024, 1:24 PM
tobiu
tobiu Oct 28, 2024, 1:25 PM

this one must not auto close.