fix crash issue

Signed-off-by: peng.xu <peng.xu@zilliz.com>
pull/4348/head
peng.xu 2020-12-01 17:31:11 +08:00 committed by shengjun.li
parent 364c19bb9f
commit 45e9522259
1 changed files with 0 additions and 1 deletions

View File

@ -273,7 +273,6 @@ class Snapshot : public ReferenceProxy {
ReferenceProxy::UnRef();
if (ref_count_ == 0) {
UnRefAll();
std::apply([](auto&... holder) { ((holder.clear()), ...); }, resources_);
}
}