fix qjs memory leak

This commit is contained in:
ekibun
2020-10-03 23:36:39 +08:00
parent 8a72bac6a9
commit d294dd59bc
13 changed files with 125 additions and 84 deletions

View File

@@ -3,7 +3,7 @@
* @Author: ekibun
* @Date: 2020-09-06 13:02:46
* @LastEditors: ekibun
* @LastEditTime: 2020-10-02 17:27:52
* @LastEditTime: 2020-10-03 21:36:06
*/
import 'dart:convert';
import 'dart:io';
@@ -67,7 +67,7 @@ void main() async {
(...args)=>`hello \${args}!`, a,
0.1, true, false, 1, "world", module
]));
""", "<eval>");
""", name: "<eval>");
print(value);
print(await value[0]('world'));
qjs.close();