修改destroy回调警告 #55

Merged
sin365 merged 1 commits from Alienjack/AxibugEmuOnline_old:master into master 2024-11-21 16:22:30 +08:00
Showing only changes of commit 797ab0c843 - Show all commits

View File

@ -100,7 +100,7 @@ namespace AxibugEmuOnline.Client
public abstract void Init(List<T> menuDataList);
private void OnDestroy()
protected override void OnDestroy()
{
if (CommandDispatcher.Instance != null)
CommandDispatcher.Instance.UnRegistController(this);