src/macosx/native/sun/awt/AWTWindow.m

Print this page

        

*** 348,358 **** } - (void) dealloc { AWT_ASSERT_APPKIT_THREAD; ! JNIEnv *env = [ThreadUtilities getJNIEnv]; [self.javaPlatformWindow setJObject:nil withEnv:env]; self.nsWindow = nil; self.ownerWindow = nil; [super dealloc]; --- 348,358 ---- } - (void) dealloc { AWT_ASSERT_APPKIT_THREAD; ! JNIEnv *env = [ThreadUtilities getJNIEnvUncached]; [self.javaPlatformWindow setJObject:nil withEnv:env]; self.nsWindow = nil; self.ownerWindow = nil; [super dealloc];