Kouhei Sutou
null+****@clear*****
Fri Aug 12 16:43:06 JST 2016
Kouhei Sutou 2016-08-12 16:43:06 +0900 (Fri, 12 Aug 2016) New Revision: 2037994d93879e79f75ea8acec87d4dbb1041c85 https://github.com/ranguba/rroonga/commit/2037994d93879e79f75ea8acec87d4dbb1041c85 Message: Add more debug logs Modified files: ext/groonga/rb-grn-object.c Modified: ext/groonga/rb-grn-object.c (+5 -0) =================================================================== --- ext/groonga/rb-grn-object.c 2016-08-12 16:42:41 +0900 (11e4b1e) +++ ext/groonga/rb-grn-object.c 2016-08-12 16:43:06 +0900 (8247996) @@ -587,6 +587,10 @@ rb_grn_object_close_raw (RbGrnObject *rb_grn_object) rb_grn_object_deconstruct(rb_grn_object, &object, &context, NULL, NULL, NULL, NULL); + debug("object:close: %p:%p:%s\n", + context, + object, + object ? grn_obj_type_to_string(object->header.type) : "(null)"); if (object && context) { if (rb_grn_object->have_finalizer) { rb_grn_object_run_finalizer(context, object, rb_grn_object); @@ -595,6 +599,7 @@ rb_grn_object_close_raw (RbGrnObject *rb_grn_object) } grn_obj_close(context, object); } + debug("object:close: %p:%p: done\n", context, object); } /* -------------- next part -------------- HTML����������������������������...Download