define all server intervals in a map so we can easily clear them all

This commit is contained in:
ansuz
2020-02-03 17:14:23 -05:00
parent 3601bd6429
commit 43307ffb1a
4 changed files with 20 additions and 12 deletions

View File

@@ -359,7 +359,6 @@ module.exports.create = function (cfg, cb) {
// close the channel
store.closeChannel(channel, function () {
// XXX make sure that clients actually disconnect when we broadcast an error
Server.channelBroadcast(channel, {
error: 'EEXPIRED',
channel: channel