去除多余代码

This commit is contained in:
yj 2024-12-30 13:34:19 +08:00
parent 3723873d71
commit d2d20d3efd
1 changed files with 15 additions and 17 deletions

View File

@ -1688,7 +1688,6 @@ const Meeting: React.FC = () => {
// 退出房间
const leaveChannel = async (bool: boolean = true): Promise<void> => {
setIsLeave(true)
setTimeout(async () => {
await stopScreenCapture()
await stopRecorderMedia()
if (bool) {
@ -1707,7 +1706,6 @@ const Meeting: React.FC = () => {
}
return res
})
}, 1000)
}
// 分享屏幕
const clickSharedScreen = async (): Promise<void> => {