示例#1
0
文件: Output.java 项目: pgoelz/xfp
  protected void finalize() throws Throwable {
    // flush the logs
    close();

    // do super.finalize, just for good style
    super.finalize();
  }
示例#2
0
文件: Output.java 项目: pgoelz/xfp
  private void exitWithError() {
    // flush logs first
    close();

    // exit
    System.exit(1);
  }