aboutsummaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
authordcherepanov <none@none>2010-01-22 19:47:18 +0300
committerdcherepanov <none@none>2010-01-22 19:47:18 +0300
commitcbba6009ba6488eb6d6c6e08f973f2f57c6ec895 (patch)
tree9a5cb817aeb6ea6ac11ffa6e641358e33306373a /src/windows
parent4d3bff917f855eb5931d3cecd52a30466f3ff270 (diff)
6756774: fstdebug jvm fails with assertion (result != deleted_handle(),"Used a deleted global handle.")
Reviewed-by: art, anthony
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/native/sun/windows/awt_MenuItem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/windows/native/sun/windows/awt_MenuItem.cpp b/src/windows/native/sun/windows/awt_MenuItem.cpp
index 51fc47718..33abb6633 100644
--- a/src/windows/native/sun/windows/awt_MenuItem.cpp
+++ b/src/windows/native/sun/windows/awt_MenuItem.cpp
@@ -114,6 +114,7 @@ void AwtMenuItem::Dispose()
if (m_peerObject != NULL) {
JNI_SET_PDATA(m_peerObject, NULL);
env->DeleteGlobalRef(m_peerObject);
+ m_peerObject = NULL;
}
AwtObject::Dispose();