mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-30 18:22:52 +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)
|
||||
{
|
||||
toDispose?.Dispose();
|
||||
toDispose = null;
|
||||
try
|
||||
{
|
||||
toDispose?.Dispose();
|
||||
toDispose = null;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
ErrorReportUI.OpenErrorReportUI();
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user