mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[V3 Audio] fix zombie process on unload (#1575)
This commit is contained in:
parent
83080bc5a2
commit
d8c85a2b15
@ -92,4 +92,5 @@ def shutdown_lavalink_server():
|
|||||||
global proc
|
global proc
|
||||||
if proc is not None:
|
if proc is not None:
|
||||||
proc.terminate()
|
proc.terminate()
|
||||||
|
proc.wait()
|
||||||
proc = None
|
proc = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user