Skip to content

Commit 00a22ec

Browse files
backesnodejs-github-bot
authored andcommitted
src: avoid deprecated Wasm API
Use the new API which gets a `ModuleCachingCallback` parameter. Refs: https://crrev.com/c/7078551
1 parent ded8a59 commit 00a22ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_wasm_web_api.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void WasmStreamingObject::Finish(const FunctionCallbackInfo<Value>& args) {
132132
CHECK(obj->streaming_);
133133

134134
CHECK_EQ(args.Length(), 0);
135-
obj->streaming_->Finish();
135+
obj->streaming_->Finish(WasmStreaming::ModuleCachingCallback{});
136136
}
137137

138138
void WasmStreamingObject::Abort(const FunctionCallbackInfo<Value>& args) {

0 commit comments

Comments
 (0)