Close diagnostic manager socket if there isn't any requests
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 23 May 2017 23:38:00 +0000 (01:38 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 23 May 2017 23:38:00 +0000 (01:38 +0200)
commit71096ceee301ebc450aacb29d99190b3e158753f
tree9a524b08cb60c115018562e5127f6a5d7b887cca
parentd9e84736777908cd23ce1f7e935fa8b43849685c
Close diagnostic manager socket if there isn't any requests

No need to listen diagnostic responses if there isn't any subscriptions.

Change-Id: I7fa48dbc3e8fb1847b8186337fe2813625894406
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp
CAN-binder/low-can-binding/diagnostic/diagnostic-manager.hpp