Keep reference alive so unmarshalled object not collected.

This commit is contained in:
Calvin Rose 2020-04-06 17:24:52 -05:00
parent b75a22b753
commit e6d4e729fb
1 changed files with 2 additions and 2 deletions

View File

@ -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)