mirror of
https://github.com/janet-lang/janet
synced 2025-09-02 10:58:03 +00:00
Keep reference alive so unmarshalled object not collected.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user