Disconnect on channel error in GDP

Change-Id: I39c240644f42051c746df5e20379897d7fb354b3
This commit is contained in:
Carmelo Cascone 2018-08-21 18:31:42 -07:00
parent 68e5973ae1
commit e15773f2e1

View File

@ -959,6 +959,7 @@ public class GeneralDeviceProvider extends AbstractProvider
// TODO evaluate other reaction to channel error.
log.warn("Received CHANNEL_ERROR from {}. Is the channel still open?",
deviceId);
handleChannelClosed(deviceId);
break;
case ROLE_MASTER:
handleMastershipResponse(deviceId, MastershipRole.MASTER);