mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[V3 RPC] Handle shutdown gracefully (#1071)
This commit is contained in:
parent
edabd07719
commit
1490b0dcbe
@ -79,4 +79,5 @@ def add_method(prefix, method):
|
||||
|
||||
|
||||
def clean_up():
|
||||
if _rpc_server is not None:
|
||||
_rpc_server.close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user