Commit 40d1291
committed
fix(vscode): fix wrong squigglies on first load on Windows
dlltool, used when building with GCC-MinGW, has a bug which causes the
first call to napi_create_double to create 1.20305e-307 instead of the
intended number.
Work around this dll bug by making a dummy call to napi_create_double on
init to absorb the corruption.1 parent 288fe6c commit 40d1291
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
1054 | 1064 | | |
| 1065 | + | |
| 1066 | + | |
1055 | 1067 | | |
1056 | 1068 | | |
1057 | 1069 | | |
| |||
0 commit comments