被登出时主动释放资源
This commit is contained in:
1 parent
c5fb7b93a3
commit
867b61fc00
1 file changed
+3
@@ -63,6 +63,9 @@ namespace Assets.Scripts.Apis
|
||||
}
|
||||
IEnumerator LoadLogin(string msg)
|
||||
{
|
||||
//释放资源
|
||||
MapUDPService.Dispose();
|
||||
App.MainDeviceAdapter.Dispose();
|
||||
//删除本地文件
|
||||
Helper.DelectDir(PFConstants.MapWorkoutRecordTempFolder);
|
||||
App.tempRecordData = null;
|
||||
|
||||
Reference in new issue
Block a user