Skip to content

Commit

Permalink
Update RadCoPilot class - __del__ method
Browse files Browse the repository at this point in the history
  • Loading branch information
adiazpinto committed Jan 23, 2025
1 parent c85432f commit d4e34d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/RadCoPilot_Slicer/RadCoPilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ def __init__(self, server_url=None, tmpdir=None, progress_callback=None):
self.progress_callback = progress_callback

def __del__(self):
'''del method declaration.'''
shutil.rmtree(self.tmpdir, ignore_errors=True)

def setServer(self, server_url=None):
Expand Down

0 comments on commit d4e34d9

Please sign in to comment.