mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 00:20:26 +00:00
Register stream on unmarshal
This commit is contained in:
parent
c9897f99c3
commit
12630d3e54
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user