Minor naming and comments update

This commit is contained in:
DevilXD committed 2022-08-19 10:19:23 +02:00
1 parent 5b1089e3cc
commit c682b75e2d
3 files changed
+12 -11

No files matched your search

+3 -2
View File
@@ -121,14 +121,15 @@ class Twitch:
# perfect for GUI usage
return partial(self.change_state, state)
def close(self):
def signal_close(self):
"""
Called when the application is requested to close by the operating system,
usually by receiving a SIGINT or SIGTERM.
"""
# delegate this to the same action as the user clicking on the X in the GUI window
self.gui.close()
def request_close(self):
def close(self):
"""
Called when the application is requested to close by the user,
usually by the console or application window being closed.