issue #3713: Object::release() of debug version will check whether the object was in autorelease pool.

...