mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-12 08:42:48 +08:00
fix: error report window not displayed on build failure (#488)
This commit is contained in:
parent
f538bf842f
commit
68bc7ece54
@ -20,9 +20,17 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void OnDeactivate(ndmf.BuildContext context)
|
public void OnDeactivate(ndmf.BuildContext context)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
toDispose?.Dispose();
|
toDispose?.Dispose();
|
||||||
toDispose = null;
|
toDispose = null;
|
||||||
}
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
ErrorReportUI.OpenErrorReportUI();
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user