Skip to content

Commit

Permalink
Fix memory leak in metadata cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sandorkertesz committed Sep 7, 2024
1 parent 32f5983 commit 18721bb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/earthkit/data/readers/grib/index/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,6 @@ def handle(self, field, create):
def _handle_created(self):
self.handle_create_count += 1

def _make_metadata_cache(self):
return dict()

def diag(self):
r = defaultdict(int)
r["grib_handle_policy"] = self.policy
Expand Down

0 comments on commit 18721bb

Please sign in to comment.