NativeMethodFrame::~NativeMethodFrame() { flush_cached_data(); for(capi::HandleSet::iterator i = handles_.begin(); i != handles_.end(); i++) { capi::Handle* handle = *i; handle->deref(); } }
NativeMethodFrame::~NativeMethodFrame() { flush_cached_data(); handles_.deref_all(); }