Skip to content

Commit

Permalink
Add default shutdown method for compat.
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed May 26, 2023
1 parent 0743fe2 commit bc6c1c1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions ovos_plugin_manager/templates/hotwords.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,14 @@ def update(self, chunk):
"""

def stop(self):
"""Perform any actions needed to shut down the wake word engine.
"""
Perform any actions needed to shut down the wake word engine.
This may include things such as unloading data or shutdown
external processess.
external processes.
"""

def shutdown(self):
"""
Compatibility wrapper for `self.stop`
"""
self.stop()

0 comments on commit bc6c1c1

Please sign in to comment.