diff --git a/flaskr/geocoder.py b/flaskr/geocoder.py index b315e01..92b31a2 100644 --- a/flaskr/geocoder.py +++ b/flaskr/geocoder.py @@ -21,3 +21,6 @@ class CachedGeocoder: addressdetails=True, # only works with Nominatim /!. ) return self.cache[address] + + def close(self): + self.cache.close() -- libgit2 0.21.2