1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-17 10:49:56 +00:00

Register stream on unmarshal

This commit is contained in:
Calvin Rose 2024-02-19 13:16:45 -06:00
parent c9897f99c3
commit 12630d3e54

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;
}