diff options
author | Deepak Bhole <[email protected]> | 2011-04-07 18:06:40 -0400 |
---|---|---|
committer | Deepak Bhole <[email protected]> | 2011-04-07 18:06:40 -0400 |
commit | 993ebee50c797888ea824cc54a8845da61cde926 (patch) | |
tree | 8a5323d54bc2f021aea4ddfd444882fb77fed0ab /plugin/icedteanp/java/sun/applet | |
parent | 8052764963c42498f360806702086ba6a0a43c9b (diff) |
Prevent NPE in appletClose() by calling it only via the thread-safe
destroyApplet() method.
Diffstat (limited to 'plugin/icedteanp/java/sun/applet')
-rw-r--r-- | plugin/icedteanp/java/sun/applet/PluginAppletViewer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java index df29e3f..9099524 100644 --- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java @@ -407,7 +407,7 @@ public class PluginAppletViewer extends XEmbeddedFrame windowEventListener = new WindowAdapter() { public void windowClosing(WindowEvent evt) { - appletClose(); + destroyApplet(identifier); } public void windowIconified(WindowEvent evt) { |