void (boolean wasCancelled) { TransactionGuard.submitTransaction(getProject(), () -> { try { afterExecution(wasCancelled); } finally { if (myProject != null) { StoreReloadManager.Companion.getInstance(myProject).unblockReloadingProjectOnExternalChanges(); } } }); }