mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-29 04:54:51 +02:00
Fix: __del__ to __exit__
This commit is contained in:
@@ -191,7 +191,7 @@ class FileLayer(interfaces.layers.DataLayerInterface):
|
||||
"""Closes the file handle."""
|
||||
self._file.close()
|
||||
|
||||
def __del__(self) -> None:
|
||||
def __exit__(self) -> None:
|
||||
self.destroy()
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user