public static void crashIfAnyOpen()

in simplestore/src/main/java/com/uber/simplestore/impl/SimpleStoreFactory.java [115:123]


  public static void crashIfAnyOpen() {
    synchronized (namespacesLock) {
      for (Map.Entry<String, SimpleStoreImpl> e : namespaces.entrySet()) {
        if (e.getValue().available.get() == 0) {
          throw new IllegalStateException("Leaked namespace " + e.getKey());
        }
      }
    }
  }