Skip to content

Commit

Permalink
Don't reassign crc on close
Browse files Browse the repository at this point in the history
  • Loading branch information
wiredfool authored and radarhere committed Sep 30, 2022
1 parent aa8877a commit db1b741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/PngImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def __exit__(self, *args):
self.close()

def close(self):
self.queue = self.crc = self.fp = None
self.queue = self.fp = None

def push(self, cid, pos, length):

Expand Down

0 comments on commit db1b741

Please sign in to comment.