1.1 --- a/rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/WebViewLauncher.java Wed Mar 20 06:56:44 2013 +0100
1.2 +++ b/rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/WebViewLauncher.java Wed Mar 20 08:41:40 2013 +0100
1.3 @@ -61,6 +61,13 @@
1.4 @Override
1.5 public void run() {
1.6 FXBrwsr.launch(FXBrwsr.class, url.toString());
1.7 + LOG.log(Level.FINE, "Launcher is back!");
1.8 + try {
1.9 + close();
1.10 + } catch (IOException ex) {
1.11 + LOG.log(Level.WARNING, null, ex);
1.12 + }
1.13 + System.exit(0);
1.14 }
1.15 });
1.16 } catch (Throwable ex) {
1.17 @@ -83,6 +90,7 @@
1.18
1.19 @Override
1.20 public void close() throws IOException {
1.21 + super.close();
1.22 Platform.exit();
1.23 }
1.24