优化麦圈,泄漏处理
This commit is contained in:
@@ -168,6 +168,7 @@ public abstract class BaseMvpActivity<P extends IPresenter, VDB extends ViewData
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
ClickUtils.clearAllClickRecords();
|
||||
|
||||
// 清理MQTT相关资源
|
||||
synchronized (mqttQueueLock) {
|
||||
mqttMessageQueue.clear();
|
||||
|
||||
Reference in New Issue
Block a user