提交 f9a764c2 编写于 作者: L Li Yuhang

Add await for session destroy

Signed-off-by: NLi Yuhang <liyuhang24@huawei.com>
上级 fa445de9
...@@ -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.
先完成此消息的编辑!
想要评论请 注册