diff --git a/multimedia/avsession/avsession_js_standard/avsessionManager/src/main/js/test/AVSessionJSTest.js b/multimedia/avsession/avsession_js_standard/avsessionManager/src/main/js/test/AVSessionJSTest.js index 8d63e590fd6d6d28ea3d3f12699cf509c4a2e2ae..b5d58762ce740ccf4caae0f761a93d92bff5e035 100644 --- a/multimedia/avsession/avsession_js_standard/avsessionManager/src/main/js/test/AVSessionJSTest.js +++ b/multimedia/avsession/avsession_js_standard/avsessionManager/src/main/js/test/AVSessionJSTest.js @@ -52,8 +52,8 @@ export default function AVSessionJsTest() { console.info(TAG + "Create session finished, beforeAll called"); }) - afterAll(function () { - session.destroy(); + afterAll(async function () { + await session.destroy(); console.info(TAG + 'afterAll called') })