aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-11-18 10:08:39 +0300
committerGravatar Vitaly Takmazov2016-11-18 10:08:39 +0300
commit31d6d72a687071262f7bd4f42ff65b9c4af87388 (patch)
treeebe16d034acfa8d0e3aea70f5fad65d013a07411
parent7128df991d737d23ee77f89bfe79ec4b79a362df (diff)
juick-api: cleanup
-rw-r--r--juick-api/src/main/java/com/juick/api/Main.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/juick-api/src/main/java/com/juick/api/Main.java b/juick-api/src/main/java/com/juick/api/Main.java
index 669dc11d..2bb42e3a 100644
--- a/juick-api/src/main/java/com/juick/api/Main.java
+++ b/juick-api/src/main/java/com/juick/api/Main.java
@@ -496,14 +496,4 @@ public class Main extends HttpServlet {
}
}
}
- @Override
- public void destroy() {
- try {
- if (xmpp != null) {
- xmpp.close();
- }
- } catch (Exception e) {
- log("exception on destroy", e);
- }
- }
}