From 8bdcac0f3ed72a1945bba0f19e52b4cc717a410d Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 17 Aug 2020 13:22:57 -0400 Subject: [PATCH] close reader before deleting blob --- lbry/blob/blob_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/blob/blob_file.py b/lbry/blob/blob_file.py index b8c7c461c..d702d0a06 100644 --- a/lbry/blob/blob_file.py +++ b/lbry/blob/blob_file.py @@ -337,9 +337,9 @@ class BlobFile(AbstractBlob): return self.loop.create_task(write_blob()) def delete(self): + super().delete() if os.path.isfile(self.file_path): os.remove(self.file_path) - return super().delete() @classmethod async def create_from_unencrypted(