|
|
@ -72,8 +72,8 @@ public class DeviceTaskManagerServiceComponent {
|
|
|
|
@SuppressWarnings("unused")
|
|
|
|
@SuppressWarnings("unused")
|
|
|
|
protected void deactivate(ComponentContext componentContext) {
|
|
|
|
protected void deactivate(ComponentContext componentContext) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
DeviceTaskManagerService taskManagerService = new DeviceTaskManagerServiceImpl();
|
|
|
|
// DeviceTaskManagerService taskManagerService = new DeviceTaskManagerServiceImpl();
|
|
|
|
taskManagerService.stopTask();
|
|
|
|
// taskManagerService.stopTask();
|
|
|
|
} catch (Throwable e) {
|
|
|
|
} catch (Throwable e) {
|
|
|
|
log.error("Error occurred while destroying the device details retrieving task manager service.", e);
|
|
|
|
log.error("Error occurred while destroying the device details retrieving task manager service.", e);
|
|
|
|
}
|
|
|
|
}
|
|
|
|