mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
Tiny text changes
This commit is contained in:
@@ -73,14 +73,14 @@ class VoiceConnectionPlayer extends EventEmitter {
|
|||||||
}
|
}
|
||||||
if (streams.pcmConverter && streams.pcmConverter.kill) {
|
if (streams.pcmConverter && streams.pcmConverter.kill) {
|
||||||
streams.pcmConverter.kill('SIGINT');
|
streams.pcmConverter.kill('SIGINT');
|
||||||
this.emit(Constants.Events.DEBUG, '- Killed the pcm converter');
|
this.emit(Constants.Events.DEBUG, '- Killed the PCM converter');
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// if an error happened make sure the pcm converter is killed anyway
|
// if an error happened make sure the pcm converter is killed anyway
|
||||||
try {
|
try {
|
||||||
if (streams.pcmConverter && streams.pcmConverter.kill) {
|
if (streams.pcmConverter && streams.pcmConverter.kill) {
|
||||||
streams.pcmConverter.kill('SIGINT');
|
streams.pcmConverter.kill('SIGINT');
|
||||||
this.emit(Constants.Events.DEBUG, '- Killed the pcm converter after previous error (abnormal)');
|
this.emit(Constants.Events.DEBUG, '- Killed the PCM converter after previous error (abnormal)');
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return e;
|
return e;
|
||||||
|
|||||||
Reference in New Issue
Block a user