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