81b519286f
In4f3f4dd, launch(EDT(project)) was replaced with TransactionGuard.submitTransaction to fix write in write-unsafe context. Unfortunately submitTransaction will call action immediately if we are already on EDT. This causes IDE freeze. By replacing submitTransaction with submitTransactionLater we are postponing work to the end of events queue (as it was before4f3f4dd). Also in isUnitTestMode we need to call action immediately as it was before4f3f4dd. #KT-25958 Fixed