reentrant cleanup
This commit is contained in:
parent
9bfbf80a0e
commit
5384c2e0f5
@ -1232,7 +1232,11 @@ class Up2k(object):
|
||||
return tf, n
|
||||
|
||||
def _unspool(self, tf: tempfile.SpooledTemporaryFile[bytes]) -> None:
|
||||
try:
|
||||
self.spools.remove(tf)
|
||||
except:
|
||||
return
|
||||
|
||||
try:
|
||||
tf.close()
|
||||
except Exception as ex:
|
||||
|
Loading…
Reference in New Issue
Block a user