未验证 提交 54a5bb3e 编写于 作者: O openharmony_ci 提交者: Gitee

!9473 Add await for session destroy

Merge pull request !9473 from Li Yuhang/fix_acts
...@@ -52,8 +52,8 @@ export default function AVSessionJsTest() { ...@@ -52,8 +52,8 @@ export default function AVSessionJsTest() {
console.info(TAG + "Create session finished, beforeAll called"); console.info(TAG + "Create session finished, beforeAll called");
}) })
afterAll(function () { afterAll(async function () {
session.destroy(); await session.destroy();
console.info(TAG + 'afterAll called') console.info(TAG + 'afterAll called')
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册