diff --git a/iOS/APIExample/Common/ExternalVideo/AgoraMetalRender.swift b/iOS/APIExample/Common/ExternalVideo/AgoraMetalRender.swift index 4169baeef..15e275c6a 100644 --- a/iOS/APIExample/Common/ExternalVideo/AgoraMetalRender.swift +++ b/iOS/APIExample/Common/ExternalVideo/AgoraMetalRender.swift @@ -83,9 +83,7 @@ extension AgoraMetalRender: AgoraVideoSinkProtocol { vertexBuffer = nil #if os(macOS) || (os(iOS) && (!arch(i386) && !arch(x86_64))) metalView.delegate = nil - textureCache = nil #endif - commandQueue = nil semaphore.signal() }