Skip to content

Commit

Permalink
version 0.1.10
Browse files Browse the repository at this point in the history
  -- Bug Fixed:
    * solved coreid undefined issues when tcp socket timeout;
  • Loading branch information
chenchen-hci authored Jun 27, 2018
1 parent e3d892e commit ccb873f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/DeviceServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit ccb873f

Please sign in to comment.