mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
ruby: fixes SEGV on MessagePack_Unpacker_each
This commit is contained in:
parent
bccac610a4
commit
354af69f62
3 changed files with 149 additions and 174 deletions
|
|
@ -209,6 +209,7 @@ class MessagePackTestFormat < Test::Unit::TestCase
|
|||
obj.to_msgpack.split(//).each do |b|
|
||||
pac.feed(b)
|
||||
pac.each {|o|
|
||||
GC.start
|
||||
assert_equal(obj, o)
|
||||
parsed += 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue