mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 19:42:17 +02:00
cleanup
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@372 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
0011e25aba
commit
c913f5897f
2 changed files with 1 additions and 2 deletions
|
@ -235,7 +235,6 @@ public class ZLSwingApplicationWindow extends ZLApplicationWindow {
|
|||
|
||||
public void close() {
|
||||
ZLSwingLibrary.shutdown();
|
||||
System.exit(0);
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@ public class ZLSwingLibrary extends ZLibrary {
|
|||
|
||||
public static void shutdown() {
|
||||
ZLConfigWriterFactory.createConfigWriter(configDirectory()).write();
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
public void run(String[] args) {
|
||||
|
@ -48,7 +49,6 @@ public class ZLSwingLibrary extends ZLibrary {
|
|||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
shutdown();
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
ZLSwingApplicationWindow mainWindow = new ZLSwingApplicationWindow(application);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue