Flush the Packer callback queue when closing
This commit is contained in:
parent
f1cfc28a1c
commit
d103056558
@ -136,6 +136,7 @@ class Packer:
|
||||
|
||||
def close(self) -> None:
|
||||
"""Clean up any temporary files."""
|
||||
self._tscb.flush()
|
||||
self._tmpdir.cleanup()
|
||||
|
||||
def __enter__(self) -> 'Packer':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user