When a container is disposed, the diagnostics window still shows the lifescope and its dependencies. (#387)
In this situation, when user clicks scope/dependency that already disposed to view the details, it shows an error.
This PR fixes the error by clearing the diagnostics information when a container is disposed.
On editor's play mode start / end, diagnostic windows are not automatically updated.
Using EditorApplication.playModeStateChanged, diagnostic windows are conveniently updated.
This PR fixes the error by clearing the diagnostics information when a container is disposed.
EditorApplication.playModeStateChanged
, diagnostic windows are conveniently updated.