From 0bdf9a9bb63a6e151acb5c58a0ab06a2644d4700 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 9 Nov 2011 22:35:07 +0100 Subject: NewtCanvasAWT: nativeWindow field lifecycle is same as holder (Composition). (regression from commit 46542168d64b37f544f61802693f15b59b224e4e) --- src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java index 1bcd8c39e..126ee5289 100644 --- a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java +++ b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java @@ -321,7 +321,6 @@ public class NewtCanvasAWT extends java.awt.Canvas implements WindowClosingProto newtChild.windowRepaint(0, 0, w, h); } else { configureNewtChild(false); - nativeWindow = null; newtChild.setVisible(false); newtChild.reparentWindow(null); } -- cgit v1.2.3