mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-07 15:13:52 -08:00
CommonClient: actually close the UI on /exit (#5860)
This commit is contained in:
@@ -65,6 +65,8 @@ class ClientCommandProcessor(CommandProcessor):
|
|||||||
|
|
||||||
def _cmd_exit(self) -> bool:
|
def _cmd_exit(self) -> bool:
|
||||||
"""Close connections and client"""
|
"""Close connections and client"""
|
||||||
|
if self.ctx.ui:
|
||||||
|
self.ctx.ui.stop()
|
||||||
self.ctx.exit_event.set()
|
self.ctx.exit_event.set()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user