mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-28 05:47:24 +00:00
dup free
This commit is contained in:
@@ -80,7 +80,7 @@ class FlutterQjs {
|
||||
case JSChannelType.FREE_OBJECT:
|
||||
Pointer rt = ctx;
|
||||
_DartObject obj = _DartObject.fromAddress(rt, ptr.address);
|
||||
obj?.release();
|
||||
obj?.free();
|
||||
return Pointer.fromAddress(0);
|
||||
}
|
||||
throw JSError('call channel with wrong type');
|
||||
|
Reference in New Issue
Block a user