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