Skip to content

Commit b8214ef

Browse files
author
zhaoyongqiang
committed
fix 插件系统退出其它界面还是显示灰色滤镜的问题
1 parent a6ed893 commit b8214ef

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

iOS/APIExample/APIExample/Examples/Advanced/SimpleFilter/SimpleFilter.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,10 @@ class SimpleFilterMain: BaseViewController {
127127
if parent == nil {
128128
// leave channel when exiting the view
129129
if isJoined {
130-
agoraKit.disableAudio()
131-
agoraKit.disableVideo()
132130
agoraKit.leaveChannel { (stats) -> Void in
133131
LogUtils.log(message: "left channel, duration: \(stats.duration)", level: .info)
134132
}
133+
AgoraRtcEngineKit.destroy()
135134
}
136135
}
137136
}

0 commit comments

Comments
 (0)