Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 07bd0ec

Browse files
committedOct 9, 2019
wasi: implement WASI C++ destructor
1 parent 1a621a5 commit 07bd0ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎src/node_wasi.cc

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ WASI::WASI(Environment* env,
8888

8989
WASI::~WASI() {
9090
/* TODO(cjihrig): Free memory. */
91+
uvwasi_destroy(&uvw_);
9192
}
9293

9394

0 commit comments

Comments
 (0)