LearnNewsExamplesServices
Frontmatter
id8803
titleSuppress Neo.isDestroyed errors in RemoteMethodAccess
stateClosed
labels
enhancementaicore
assigneestobiu
createdAtJan 19, 2026, 11:52 AM
updatedAtJan 19, 2026, 11:54 AM
githubUrlhttps://github.com/neomjs/neo/issues/8803
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJan 19, 2026, 11:54 AM

Suppress Neo.isDestroyed errors in RemoteMethodAccess

tobiu
tobiu commented on Jan 19, 2026, 11:52 AM

Update src/worker/mixin/RemoteMethodAccess.mjs to suppress console.error logging when a remote method fails due to Neo.isDestroyed.

This ensures that correctly handled destruction sequences (using trap or timeout) do not pollute the console with false positives when they occur across thread boundaries (or within the remote dispatch logic).

Action:

  • Modify onRemoteMethod to check if (err !== Neo.isDestroyed) before logging.
tobiu
tobiu Jan 19, 2026, 11:54 AM

Input from Gemini 3 Pro:

✦ I have updated src/worker/mixin/RemoteMethodAccess.mjs to suppress console.error logs when a remote method failure is caused by Neo.isDestroyed. This ensures cleaner logs during component destruction sequences.