Remove closing

This commit is contained in:
Logan Cusano
2022-03-30 01:31:19 -04:00
parent 5c0d0f1f7b
commit cbeb90a0f4

View File

@@ -167,9 +167,6 @@ class NoiseGateStream(discord.AudioSource):
LOGGER.debug(f"Frames in fadeout remaining: {self.NG_fadeout_count}")
self.process_set_count += 1
if curr_buffer:
if self.NG_fadeout_count == 0:
voice_connection.stop()
LOGGER.debug(f"Fadeout concluded, stopping voice")
return bytes(curr_buffer)
except OSError as e: