diff options
author | dcherepanov <none@none> | 2010-01-22 19:47:18 +0300 |
---|---|---|
committer | dcherepanov <none@none> | 2010-01-22 19:47:18 +0300 |
commit | cbba6009ba6488eb6d6c6e08f973f2f57c6ec895 (patch) | |
tree | 9a5cb817aeb6ea6ac11ffa6e641358e33306373a /src | |
parent | 4d3bff917f855eb5931d3cecd52a30466f3ff270 (diff) |
6756774: fstdebug jvm fails with assertion (result != deleted_handle(),"Used a deleted global handle.")
Reviewed-by: art, anthony
Diffstat (limited to 'src')
-rw-r--r-- | src/windows/native/sun/windows/awt_MenuItem.cpp | 1 |
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(); |