This commit is contained in:
yj 2025-01-24 09:07:07 +08:00
parent 25e9f16af0
commit 7b4cfbeb1d
1 changed files with 2 additions and 0 deletions

View File

@ -109,9 +109,11 @@ const StupWizard = forwardRef((_props: any, ref: any) => {
cursor: 'pointer'
}}
onClick={async () => {
const userInfo = JSON.parse(storage.getItem('user') as string)
if (location.hash.indexOf('/meeting') === -1) {
agora.release()
}
await agora.destroyRendererByConfigPreview(Number(userInfo.screenShareId), c)
setIsStupWizard(false)
}}
/>