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