mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing the shutdown errors
This commit is contained in:
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…
Reference in New Issue
Block a user