nodejs/node
Voir sur GitHubEmbedding: static nodejs variables are not set to default
Open
#21 653 ouverte le 4 juil. 2018
c++embeddinghelp wantedstale
Métriques du dépôt
- Stars
- (117 218 stars)
- Métriques de merge PR
- (Merge moyen 18j 17h) (219 PRs mergées en 30 j)
Description
- Version: v8.x (maybe any)
- Platform: MS Windows 7
- Subsystem: embedding
I use nodejs to run javascript code in my application. And I have found that after running script from code, script from file will not run. It is caused by unpredicted value of eval_string static variable, that was not set to nullptr at previous run, and bootstrap tries to run code instead of file. Also I think, some other static variables can interrupt running scripts too.