From abb63e3289ed5ed479c6e02f8738f5d455784700 Mon Sep 17 00:00:00 2001 From: rramthun Date: Thu, 3 May 2007 19:16:43 +0000 Subject: [PATCH] *) disabled system.exit() in case of YaCy shutdown as it kills the whole VM (including updater and other management threads) *) UpdateCheck-Thread now pauses for given interval correctly git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3642 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/yacy.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/yacy.java b/source/yacy.java index 2c7d00baf..3ab62a78b 100644 --- a/source/yacy.java +++ b/source/yacy.java @@ -470,9 +470,9 @@ public final class yacy { serverLog.logSevere("STARTUP", "FATAL ERROR: " + ee.getMessage(),ee); } serverLog.logConfig("SHUTDOWN", "goodbye. (this is the last line)"); - try { - System.exit(0); - } catch (Exception e) {} // was once stopped by de.anomic.net.ftpc$sm.checkExit(ftpc.java:1790) + //try { + // System.exit(0); + //} catch (Exception e) {} // was once stopped by de.anomic.net.ftpc$sm.checkExit(ftpc.java:1790) } /**