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
blockedBy[]
blocking[]
closedAtJan 19, 2026, 11:54 AM

Suppress Neo.isDestroyed errors in RemoteMethodAccess

Closed v11.23.0 enhancementaicore
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 added the enhancement label on Jan 19, 2026, 11:52 AM
tobiu added the ai label on Jan 19, 2026, 11:52 AM
tobiu added the core label on Jan 19, 2026, 11:52 AM
tobiu referenced in commit 21b761c - "fix: Suppress Neo.isDestroyed errors in RemoteMethodAccess (#8803)" on Jan 19, 2026, 11:53 AM
tobiu assigned to @tobiu on Jan 19, 2026, 11:53 AM
tobiu closed this issue on Jan 19, 2026, 11:54 AM
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.