Frontmatter
| id | 7907 |
| title | Fix race condition in VDom worker initialization |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Nov 26, 2025, 12:55 PM |
| updatedAt | Nov 26, 2025, 1:06 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7907 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 26, 2025, 1:06 PM |
The
Neo.vdom.Helperclass relies onNeo.configto determine which renderer utility to load (useDomApiRenderer). Currently, if imported at the top level of the VDom worker,Helper.initAsync()can execute before the worker has received the initial configuration from the main thread (registerNeoConfig). This leads to a race condition where the wrong renderer might be initialized.Solution: Move the
Neo.vdom.Helperimport intoonRegisterNeoConfigto ensureNeo.configis fully populated before the helper initializes.