From ae4288d44a22c0fc31c0ced8fe03b05b4c516141 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Mon, 2 Nov 2015 12:42:37 +0100 Subject: [PATCH] Remove left-over explicit API shutdown code. The code removed in this commit was not removed in the process of migrating to the new HTTP-server-less code. It causes additional errors and is generally useless now. --- app.iced | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app.iced b/app.iced index b08eea6..d4e6c52 100644 --- a/app.iced +++ b/app.iced @@ -18,13 +18,6 @@ removeBB = (str) -> str.replace /\[(\w+)[^\]]*](.*?)\[\/\1]/g, "$2" module.exports = shutdown: (cb) => - apiService = services.find("api") - if apiService and apiService.state == "started" - await apiService.stop defer(err) - if err - cb? new Error "Could not stop API" - return - ts3clientService = services.find("ts3client") if ts3clientService and ts3clientService.state == "started" await ts3clientService.stop defer(err)