You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
add a shutdown function
This commit is contained in:
@@ -131,6 +131,7 @@ class RadioPlayer:
|
||||
|
||||
def shutdown(self):
|
||||
self.procman.stop_all()
|
||||
[module.shutdown() for module in self.simple_modules if module]
|
||||
|
||||
def handle_sigint(self, signum, frame):
|
||||
with self.exit_lock:
|
||||
|
||||
Reference in New Issue
Block a user