Reset owner and reverse forwards when a dead worker restarts. This should prevent ghost owners from staying in the device list.

This commit is contained in:
Simo Kinnunen
2015-06-25 17:16:09 +09:00
parent fe7785f003
commit 4a4b0f26d1
5 changed files with 24 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ module.exports = syrup.serial()
, poke: function() {
push.send([
wireutil.global
, wireutil.envelope(new wire.DevicePokeMessage(
, wireutil.envelope(new wire.DeviceReadyMessage(
options.serial
, channel
))