|
@@ -61,6 +61,7 @@ export struct XWebview {
|
|
|
if (this.closeTag !== undefined) {
|
|
|
SZYXLocalStorageHelper.storage.setOrCreate(SZYXLocalStorageKeys.XWebViewCLose, this.closeTag)
|
|
|
}
|
|
|
+ XWebManager.removeOnMessageToWeb(this._uuidToHtml)
|
|
|
XWebManager.removeOnMessage(this._uuid)
|
|
|
XWebManager.removeOnMessageToHtml(this._uuidToHtml)
|
|
|
if (this._uuidToHtml) {
|
|
@@ -71,7 +72,6 @@ export struct XWebview {
|
|
|
} catch (error) {
|
|
|
console.error(`ErrorCode: ${(error as BusinessError).code}, Message: ${(error as BusinessError).message}`);
|
|
|
}
|
|
|
- // this.controller.rele
|
|
|
}
|
|
|
|
|
|
onBackPress(): boolean | void {
|