Skip to content

Commit

Permalink
Release subscription when hiding key binding debug widget
Browse files Browse the repository at this point in the history
  • Loading branch information
scotty007 committed Oct 19, 2020
1 parent 7c9e347 commit 24dfa7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/libavg/app/debugpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,9 @@ def update(self):

self._placeNodes()

def kill(self):
kbmgr.publisher.unsubscribe(kbmgr.publisher.BINDINGS_UPDATED, self.update)

def _placeNodes(self):
if not self.keybindingWordNodes:
return
Expand Down

0 comments on commit 24dfa7f

Please sign in to comment.