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

Print this page

        

*** 124,134 **** - (void) dealloc { AWT_ASSERT_APPKIT_THREAD; self.cglLayer = nil; ! JNIEnv *env = [ThreadUtilities getJNIEnv]; (*env)->DeleteGlobalRef(env, m_cPlatformView); m_cPlatformView = NULL; if (fInputMethodLOCKABLE != NULL) { --- 124,134 ---- - (void) dealloc { AWT_ASSERT_APPKIT_THREAD; self.cglLayer = nil; ! JNIEnv *env = [ThreadUtilities getJNIEnvUncached]; (*env)->DeleteGlobalRef(env, m_cPlatformView); m_cPlatformView = NULL; if (fInputMethodLOCKABLE != NULL) {