void close()

in glean/rocksdb/rocksdb.cpp [295:311]


  void close() noexcept override {
    if (db) {
      for (auto handle : families) {
        if (handle) {
          try {
            db->DestroyColumnFamilyHandle(handle);
          } catch(const std::exception& e) {
            LOG(ERROR) << e.what();
          } catch(...) {
            LOG(ERROR) << "unknown error while closing column family";
          }
        }
      }
      families.resize(0);
      db.reset();
    }
  }