diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2017-08-23 22:03:18 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2017-09-13 14:27:52 -0700 |
commit | c1dd8e85a1314a7bcb2059b842c6830d854fbefa (patch) | |
tree | 24b15fc50665a56b9c658c31623a9fddcdde38bf /ruby/ext/google/protobuf_c/protobuf.c | |
parent | 8741da3e45876f8c55ca062a08726f542f646423 (diff) |
Move parse frame array to the Map object
This makes the frame stack per-parser, and per-thread. Fixes #3250
Diffstat (limited to 'ruby/ext/google/protobuf_c/protobuf.c')
-rw-r--r-- | ruby/ext/google/protobuf_c/protobuf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ruby/ext/google/protobuf_c/protobuf.c b/ruby/ext/google/protobuf_c/protobuf.c index 98963667..7cde4aec 100644 --- a/ruby/ext/google/protobuf_c/protobuf.c +++ b/ruby/ext/google/protobuf_c/protobuf.c @@ -112,6 +112,4 @@ void Init_protobuf_c() { upb_def_to_ruby_obj_map = rb_hash_new(); rb_gc_register_address(&upb_def_to_ruby_obj_map); - map_parse_frames = rb_ary_new(); - rb_gc_register_address(&map_parse_frames); } |