Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not keep references to invalidated clients (#1093)
SpannerImpl would keep a reference to all database clients that had been created and then invalidated because the database was deleted or did not exists in the first place. If the getDatabaseClient(String) method would be called multiple times for the same invalid database, the memory usage of the application would continue to increase. Fixes #1089
- Loading branch information