Crash fix

This commit is contained in:
Joshua Granick
2019-03-14 15:16:08 -07:00
parent d78f3fa430
commit 6561eef767
2 changed files with 4 additions and 1 deletions

View File

@@ -3806,7 +3806,7 @@ namespace lime {
HL_CFFIPointer* handle = (HL_CFFIPointer*)glObjectPtrs[object];
handle->finalizer = NULL;
delete handle;
//delete handle;
glObjectPtrs.erase (object);
}

View File

@@ -5,6 +5,9 @@ import haxe.Int64;
import haxe.io.Bytes;
import lime._internal.backend.native.NativeCFFI;
#if hl
@:keep
#end
@:access(lime._internal.backend.native.NativeCFFI)
class VorbisFile
{