提交 531e8c3d 编写于 作者: H hu0475

去掉多余注释

Signed-off-by: Nhu0475 <huyanqiang5@huawei.com>
上级 4189fabf
......@@ -1166,13 +1166,6 @@ export default function lifecycleTest() {
expect(exlist[3]).assertEqual("MainAbility2 onAbilityBackground");
expect(exlist[4]).assertEqual("MainAbility2 onWindowStageDestroy");
expect(exlist[5]).assertEqual("MainAbility2 onAbilityDestroy");
// globalThis.applicationContext1
// .unregisterAbilityLifecycleCallback(globalThis.callbackid1, (error, data) => {
// console.log(TAG + ": unregisterAbilityLifecycleCallback success, err: " + JSON.stringify(error) +
// ",data: " + JSON.stringify(data));
// console.log("------------Singlehap_LifeCycleTest_2100 END-------------");
// done();
// });
globalThis.applicationContext1.off("abilityLifecycle", globalThis.callbackid1, (error) => {
console.log(TAG + ": unregisterAbilityLifecycleCallback success, err: " + JSON.stringify(error));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册