mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
ensure that close is not intercepted by any other event. (#29)
This commit is contained in:
@ -442,7 +442,7 @@
|
||||
})
|
||||
this.neko.events.on('connection.closed', (error?: Error) => {
|
||||
if (error) {
|
||||
alert('Connection closed with error:' + error.message)
|
||||
alert('Connection closed with error: ' + error.message)
|
||||
} else {
|
||||
alert('Connection closed without error.')
|
||||
}
|
||||
|
Reference in New Issue
Block a user