mirror of
https://github.com/janet-lang/janet
synced 2025-04-04 06:16:55 +00:00
Keep reference alive so unmarshalled object not collected.
This commit is contained in:
parent
b75a22b753
commit
e6d4e729fb
@ -232,9 +232,9 @@ neldb\0\0\0\xD8\x05printG\x01\0\xDE\xDE\xDE'\x03\0marshal_tes/\x02
|
||||
(unmarshal b load-image-dict)
|
||||
(gccollect)
|
||||
|
||||
(unmarshal
|
||||
(def v (unmarshal
|
||||
@"\xD7\xCD0\xD4000000\0\x03\x01\xCE\00\0\x01\0\0000\x03\0\0\0000000000\xCC0\0000"
|
||||
load-image-dict)
|
||||
load-image-dict))
|
||||
(gccollect)
|
||||
|
||||
(end-suite)
|
||||
|
Loading…
x
Reference in New Issue
Block a user