Feature/zpf (#564)
* iOS: fix memory leak of blur effect * js: fix callback cause memory leak
This commit is contained in:
2
doric-web/dist/index.js
vendored
2
doric-web/dist/index.js
vendored
@@ -1252,6 +1252,7 @@ var doric = (function (exports) {
|
||||
}
|
||||
hookBeforeNativeCall(context);
|
||||
Reflect.apply(callback.resolve, context, argumentsList);
|
||||
context.callbacks.delete(callbackId);
|
||||
}
|
||||
function jsCallReject(contextId, callbackId, args) {
|
||||
const context = gContexts.get(contextId);
|
||||
@@ -1270,6 +1271,7 @@ var doric = (function (exports) {
|
||||
}
|
||||
hookBeforeNativeCall(context);
|
||||
Reflect.apply(callback.reject, context.entity, argumentsList);
|
||||
context.callbacks.delete(callbackId);
|
||||
}
|
||||
class Context {
|
||||
constructor(id) {
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user