mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
voice fixes
This commit is contained in:
@@ -94,7 +94,6 @@ var VoiceConnection = (function (_EventEmitter) {
|
|||||||
if (this.streamProc) {
|
if (this.streamProc) {
|
||||||
this.streamProc.stdin.pause();
|
this.streamProc.stdin.pause();
|
||||||
this.streamProc.kill("SIGINT");
|
this.streamProc.kill("SIGINT");
|
||||||
this.streamProc.kill();
|
|
||||||
}
|
}
|
||||||
if (this.instream) {
|
if (this.instream) {
|
||||||
//not all streams implement these...
|
//not all streams implement these...
|
||||||
|
|||||||
@@ -65,7 +65,6 @@ export default class VoiceConnection extends EventEmitter {
|
|||||||
if (this.streamProc) {
|
if (this.streamProc) {
|
||||||
this.streamProc.stdin.pause();
|
this.streamProc.stdin.pause();
|
||||||
this.streamProc.kill("SIGINT");
|
this.streamProc.kill("SIGINT");
|
||||||
this.streamProc.kill();
|
|
||||||
}
|
}
|
||||||
if(this.instream){
|
if(this.instream){
|
||||||
//not all streams implement these...
|
//not all streams implement these...
|
||||||
|
|||||||
Reference in New Issue
Block a user