8000 Fix bug in which handlers are not cleared successfully · steeltrack/AbletonOSC@8944d99 · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Fix bug in which handlers are not cleared successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Jan 1, 2024
1 parent 0322bc5 commit 8944d99
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,8 @@ def reload_imports(self):
exc = traceback.format_exc()
logging.warning(exc)

if self.handlers:
self.clear_api()
self.init_api()
self.clear_api()
self.init_api()
logger.info("Reloaded code")

def disconnect(self):
Expand Down

0 comments on commit 8944d99

Please sign in to comment.
0