Skip to content

Commit 246314d

Browse files
authored
Add missing onCreate for root contexts. (proxy-wasm#27)
Signed-off-by: John Plevyak <[email protected]>
1 parent 6a57b58 commit 246314d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy_wasm_intrinsics.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ extern "C" PROXY_WASM_KEEPALIVE void proxy_on_context_create(uint32_t context_id
146146
if (parent_context_id) {
147147
ensureContext(context_id, parent_context_id)->onCreate();
148148
} else {
149-
ensureRootContext(context_id);
149+
ensureRootContext(context_id)->onCreate();
150150
}
151151
}
152152

0 commit comments

Comments
 (0)