Unlink usually sufficient, memory will be freed without truncate before, if there is no other links to this file.
Remove data file in FS module Emscripten
-
11-07-2023 - |
Pergunta
How to correctly remove data file in emscripten's FS? Currently i'm using:
FS.truncate(..);
FS.unlink(..);
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow