Permalink
Browse files

change the way of exiting

  • Loading branch information...
gegao committed Nov 25, 2013
1 parent 03536a1 commit 6d7a274b2710c03915cbab45712fee367d13f368
Showing with 2 additions and 9 deletions.
  1. +2 −9 src/frontend/edu/brown/hstore/HStoreJVMSnapshotManager.java
@@ -152,6 +152,7 @@ private void runSnapshot() {
if (len == 0) { // Shutdown request
if (debug.val)
LOG.debug("Get shutdown message from parent");
System.exit(0);
break;
}
byte[] barr = new byte[len];
@@ -166,16 +167,8 @@ private void runSnapshot() {
}
} catch (Exception e) {
LOG.error("Snapshot error", e);
} finally {
try {
kkSocket.close();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.exit(0);
}
System.exit(0);
}
public void addTransactionRequest(LocalTransaction ts) {

0 comments on commit 6d7a274

Please sign in to comment.