質問

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

FS.truncate(..);
FS.unlink(..);
役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top