Skip to content

Commit 78175c8

Browse files
committed
fixed crash bug
1 parent ed62fb0 commit 78175c8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

iOS/APIExample/Examples/Advanced/JoinMultiChannel.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ class JoinMultiChannel: BaseViewController {
110110
if parent == nil {
111111
// leave channel when exiting the view
112112
channel1?.leave()
113+
channel1?.destroy()
113114
channel2?.leave()
115+
channel2?.destroy()
114116
}
115117
}
116118
}

iOS/APIExample/Examples/Advanced/QuickSwitchChannel/QuickSwitchChannelVCItem.xib

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="QuickSwitchChannelVCItem" customModule="APIExample" customModuleProvider="target">
1212
<connections>
1313
<outlet property="channelLabel" destination="fSw-pj-BQi" id="LYV-va-1rB"/>
14-
<outlet property="coverView" destination="FJS-3e-lwl" id="9lC-4A-IiJ"/>
1514
<outlet property="hostLabel" destination="eRg-gQ-Eat" id="wof-n8-56N"/>
1615
<outlet property="hostRenderView" destination="zSR-Tl-vDK" id="E0T-cT-scI"/>
1716
<outlet property="spinner" destination="c7J-9Q-v0r" id="qv8-aQ-rdT"/>

0 commit comments

Comments
 (0)