From 17d18eff988ad25cdc63f1ff90dfc4dbe1b750c9 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Mon, 5 Dec 2022 15:24:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DPPortraitLiveManager=E4=B8=80?= =?UTF-8?q?=E5=A4=84=E5=86=85=E5=AD=98=E6=B3=84=E6=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/yunbao/live/views/PortraitLiveManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java index e95c3557f..c99e9de4e 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -731,6 +731,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe mContext.finish(); } isQuitF = false; + mContext = null;//上下文置空防止内存泄漏 } @Override