Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) 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

rramthunabb63e3289ed
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)
}
/**