Skip to content

Commit 10d6c17

Browse files
fantasyRqgrqg
andauthored
[WASM][FIX] test tests/node/websock_rpc_test.py (#13862)
Co-authored-by: rqg <[email protected]>
1 parent acde2c1 commit 10d6c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/emcc/tvmjs_support.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class AsyncLocalSession : public LocalSession {
162162
// pass the callback as the last argument.
163163
setter(num_args, packed_callback);
164164

165-
auto* pf = static_cast<PackedFunc*>(func);
165+
auto* pf = static_cast<PackedFuncObj*>(func);
166166
pf->CallPacked(TVMArgs(values.data(), type_codes.data(), num_args + 1), &temp);
167167
} else if (func == get_time_eval_placeholder_.get()) {
168168
// special handle time evaluator.

0 commit comments

Comments
 (0)