mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 11:10:38 +00:00
Webpack build for branch master: c48f042785
This commit is contained in:
parent
c990fc3b7d
commit
2e18839da9
2 changed files with 2 additions and 2 deletions
|
|
@ -17648,7 +17648,7 @@ class WebSocketConnection extends EventEmitter {
|
||||||
* @param {CloseEvent} event Close event that was received
|
* @param {CloseEvent} event Close event that was received
|
||||||
*/
|
*/
|
||||||
onClose(event) {
|
onClose(event) {
|
||||||
this.debug(`${this.expectingClose ? 'Server' : 'Client'} closed WebSocket connection: ${event.code}`);
|
this.debug(`${this.expectingClose ? 'Client' : 'Server'} closed the WebSocket connection: ${event.code}`);
|
||||||
this.closeSequence = this.sequence;
|
this.closeSequence = this.sequence;
|
||||||
// Reset the state before trying to fix anything
|
// Reset the state before trying to fix anything
|
||||||
this.emit('close', event);
|
this.emit('close', event);
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue