fixing blinking tests

(cherry picked from commit a597016241d7d732050762d01f1df9818fe6f35e)

IJ-CR-148573

GitOrigin-RevId: 66e0fb5538166775477f77d78fbbdc95635939ff
This commit is contained in:
Egor Ushakov
2024-11-18 17:51:27 +00:00
committed by intellij-monorepo-bot
parent 36cd6c127a
commit f3914db145
@@ -1032,7 +1032,9 @@ public final class XDebugSessionImpl implements XDebugSession {
if (mySessionTab != null) {
AppUIUtil.invokeOnEdt(() -> {
mySessionTab.getUi().attractBy(XDebuggerUIConstants.LAYOUT_VIEW_FINISH_CONDITION);
((XWatchesViewImpl)mySessionTab.getWatchesView()).updateSessionData();
if (!myProject.isDisposed()) {
((XWatchesViewImpl)mySessionTab.getWatchesView()).updateSessionData();
}
mySessionTab.detachFromSession();
});
}