From 29badbf7258f1e3237096b00b8bab99d2bc6c071 Mon Sep 17 00:00:00 2001 From: Martin <13046765170@163.com> Date: Wed, 19 Jun 2024 14:47:53 +0800 Subject: [PATCH] =?UTF-8?q?fix[=E4=BF=AE=E5=BE=A9=E5=B0=8F=E7=AA=97?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E7=99=BD=E5=B1=8F=E5=95=8F=E9=A1=8C]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/views/LivePlaySwViewHolder.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/views/LivePlaySwViewHolder.java b/live/src/main/java/com/yunbao/live/views/LivePlaySwViewHolder.java index 4e028112b..7057feaeb 100644 --- a/live/src/main/java/com/yunbao/live/views/LivePlaySwViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LivePlaySwViewHolder.java @@ -630,7 +630,10 @@ public class LivePlaySwViewHolder extends LiveRoomPlayViewHolder { mEnd = true; mStarted = false; Bus.getOff(this); - swAuManager.release(); + if(ry_view!=null){ + ry_view.removeAllViews(); + } + //swAuManager.release(); EventBus.getDefault().unregister(this); //swAuManager.exitChannelAll(); L.e(TAG, "release------->");