Pregunta

How to correctly remove data file in emscripten's FS? Currently i'm using:

FS.truncate(..);
FS.unlink(..);
¿Fue útil?

Solución

Unlink usually sufficient, memory will be freed without truncate before, if there is no other links to this file.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top