Skip to content

Commit

Permalink
Delete plugin instance on closing
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSAMPERE committed Jun 5, 2023
1 parent 4c23d10 commit f1f6ce3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions isogeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ def onClosePlugin(self):
# stop log file stream
logging.shutdown()

del self

def unload(self):
"""Remove the plugin menu item and icon from QGIS GUI."""
for action in self.actions:
Expand Down

0 comments on commit f1f6ce3

Please sign in to comment.