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