Skip to content

Commit

Permalink
Drops some unneeded commented-out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
xsdg committed Jan 6, 2024
1 parent 7dc611b commit d18f8a6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bin/mkchromecast
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,6 @@ class CastProcess(object):
print('')
print(colors.error('Ctrl-C to kill the Application at any Time'))
print('')
# TODO(xsdg): atexit is incorrect here. The signal handlers should
# directly call terminate_app.
#signal.signal(signal.SIGINT,
# lambda *_: atexit.register(self.terminate_app()))
#signal.signal(signal.SIGTERM,
# lambda *_: atexit.register(self.terminate_app()))
signal.pause()

except KeyboardInterrupt:
Expand Down

0 comments on commit d18f8a6

Please sign in to comment.