@ipcom/asterisk-ari 0.0.135 → 0.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js
CHANGED
|
@@ -931,9 +931,7 @@ var ChannelInstance = class extends EventEmitter {
|
|
|
931
931
|
);
|
|
932
932
|
const wsClient2 = this.client.getWebSocketClients().get(this.app);
|
|
933
933
|
if (wsClient2) {
|
|
934
|
-
|
|
935
|
-
wsClient2.removeScopedChannelListeners(this.id, this.app);
|
|
936
|
-
}, 5e3);
|
|
934
|
+
wsClient2.removeScopedChannelListeners(this.id, this.app);
|
|
937
935
|
} else {
|
|
938
936
|
console.warn(
|
|
939
937
|
`WebSocketClient n\xE3o encontrado para o app '${this.app}'.`
|
|
@@ -1085,11 +1083,8 @@ var ChannelInstance = class extends EventEmitter {
|
|
|
1085
1083
|
console.log(
|
|
1086
1084
|
`Canal '${this.id}' foi destru\xEDdo. Removendo listeners associados.`
|
|
1087
1085
|
);
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
wsClient.removeScopedChannelListeners(this.id, this.app);
|
|
1091
|
-
wsClient.removeScopedPlaybackListeners(playback.id, this.app);
|
|
1092
|
-
}, 5e3);
|
|
1086
|
+
wsClient.removeScopedChannelListeners(this.id, this.app);
|
|
1087
|
+
wsClient.removeScopedPlaybackListeners(playback.id, this.app);
|
|
1093
1088
|
});
|
|
1094
1089
|
return playback;
|
|
1095
1090
|
}
|