Commit 64006e1
authored
fix(wamr): Fix networking capability for all platforms (#174)
In instance create, wamr's wasm_runtime_set_wasi_*_pool() functions are storing
addr_pool and ns_lookup_pool as pointers. These variables are lost the moment we
leave the instance create part, and wamr tries to access them afterwards during
the instance execution. We need to store these even if we leave the funtion.
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>1 parent c19b90d commit 64006e1
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
0 commit comments