correctly unregister dashboard servlet (#255)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
pull/258/head
Kai Kreuzer 2017-12-12 05:19:32 +01:00 committed by Martin van Wingerden
parent d3d56d2072
commit 559bc4afea
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ public class DashboardService {
@Deactivate
protected void deactivate(ComponentContext componentContext) {
httpService.unregister(DASHBOARD_ALIAS + "/" + SERVLET_NAME);
httpService.unregister(DASHBOARD_ALIAS);
logger.info("Stopped dashboard");
}