-
Notifications
You must be signed in to change notification settings - Fork 181
Open
Description
FantasyObject 的OnDestory 中,OnDestroy 调用了OnDestroyAsync().Coroutine();
这样会导致,下面很多都可能执行不完。
private async FTask OnDestroyAsync()
{
if (Scene != null)
{
await Scene.Close();
Scene = null;
}
SerializerManager.Dispose();
await AssemblyManifest.Dispose();
_isInit = false;
// 设置当前程序已经在停止中
ProgramDefine.IsAppRunning = false;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels