Skip to content

Commit

Permalink
Fix undefined variable during shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni-SM committed Aug 16, 2022
1 parent 3f9c9f8 commit 06e9f25
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions exts/semu.misc.vscode/semu/misc/vscode/scripts/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ def on_startup(self, ext_id):
self._create_socket()

def on_shutdown(self):
# clean extension paths
if self._extension_path is not None:
self._extension_path = None
# clean up menu item
if self._menu is not None:
self._editor_menu.remove_item(self._menu)
Expand Down

0 comments on commit 06e9f25

Please sign in to comment.