修改
This commit is contained in:
parent
e7f5d778e1
commit
59afc69a1c
@ -1,4 +1,6 @@
|
|||||||
using UnityEngine;
|
using System.Threading.Tasks;
|
||||||
|
using Cysharp.Threading.Tasks;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
namespace AlicizaX.Runtime
|
namespace AlicizaX.Runtime
|
||||||
{
|
{
|
||||||
@ -29,9 +31,10 @@ namespace AlicizaX.Runtime
|
|||||||
SysModuleCenter.UpdateGUIExecuteList();
|
SysModuleCenter.UpdateGUIExecuteList();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnDestroy()
|
private async void OnDestroy()
|
||||||
{
|
{
|
||||||
|
await UniTask.Yield();
|
||||||
SysModuleCenter.Dispose();
|
SysModuleCenter.Dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user