Register stream on unmarshal

This commit is contained in:
Calvin Rose 2024-02-19 13:16:45 -06:00
parent c9897f99c3
commit 12630d3e54
1 changed files with 1 additions and 0 deletions

View File

@ -451,6 +451,7 @@ static void *janet_stream_unmarshal(JanetMarshalContext *ctx) {
#else
p->handle = (JanetHandle) janet_unmarshal_int(ctx);
#endif
janet_register_stream(p);
return p;
}