robovm
robovm copied to clipboard
* fixed: #684 -- crash on GC when releasing object that fails to `init`
root case
when init return nil -- it calls -release on allocated object. but objc code was keeping old handle returned by +alloc. as result when Java object with this handle was disposed by GC -- it was calling -release on this zombie handle that caused EXC_BAD_ACCESS