Fixing the shutdown errors

revert-70aa11f8
geethkokila 9 years ago
parent af973dacc6
commit d32e822055

@ -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);
} }

Loading…
Cancel
Save