mirror of
https://github.com/janet-lang/janet
synced 2026-03-25 17:19:50 +00:00
Register stream on unmarshal
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user