Skip to content

Commit f28aac2

Browse files
committed
fix can't compile tvOS.
1 parent 38f34c4 commit f28aac2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Media/AVMixer.swift

+2
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,11 @@ public class AVMixer {
150150
}
151151

152152
deinit {
153+
#if os(iOS) || os(macOS)
153154
if let session = _session, session.isRunning {
154155
session.stopRunning()
155156
}
157+
#endif
156158
}
157159
}
158160

0 commit comments

Comments
 (0)