Skip to content

Commit

Permalink
*) disabled system.exit() in case of YaCy shutdown as it kills the wh…
Browse files Browse the repository at this point in the history
…ole 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
  • Loading branch information
rramthun committed May 3, 2007
1 parent 9c41132 commit abb63e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/yacy.java
Expand Up @@ -470,9 +470,9 @@ private static void startup(String homePath, long startupMemFree, long startupMe
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)
}

/**
Expand Down

0 comments on commit abb63e3

Please sign in to comment.