From 4160aec995adb3e0ce270ef6b8feca4d4169696a Mon Sep 17 00:00:00 2001 From: Ero Carrera Date: Thu, 11 Jan 2024 12:14:49 +0100 Subject: [PATCH] Add a comment for the gc.collect() line --- pefile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pefile.py b/pefile.py index 8b7bfb5..6114857 100644 --- a/pefile.py +++ b/pefile.py @@ -2964,6 +2964,7 @@ def _close_data(self): ): self.__data__.close() del self.__data__ + # Run a full garbage collection to find unreachable objects and free them. gc.collect() def close(self):