Skip to content

Commit 6d9ab7d

Browse files
committed
fix: Clean up comments
1 parent 1940d9a commit 6d9ab7d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/c2pa/c2pa.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,6 @@ def __del__(self):
11701170
"""
11711171
try:
11721172
# Only cleanup if not already closed and we have a valid stream
1173-
# Cache state in local variables to reduce attribute lookup overhead
11741173
if hasattr(self, '_closed') and not self._closed:
11751174
stream = self._stream
11761175
if hasattr(self, '_stream') and stream:
@@ -1198,7 +1197,6 @@ def close(self):
11981197
Errors during cleanup are logged but not raised to ensure cleanup.
11991198
Multiple calls to close() are handled gracefully.
12001199
"""
1201-
# Cache state in local variables to reduce attribute lookup overhead
12021200
closed = self._closed
12031201
if closed:
12041202
return

0 commit comments

Comments
 (0)