diff --git a/server/DeviceServer.js b/server/DeviceServer.js index 415fb10..6af8301 100755 --- a/server/DeviceServer.js +++ b/server/DeviceServer.js @@ -265,7 +265,7 @@ DeviceServer.prototype = { logger.log("Session ended for " + core._connection_key); delete _cores[key]; - /* offline */ + var coreid = this.getHexCoreID(); if (global.online_devices == undefined) global.online_devices = {}; else delete global.online_devices[coreid];