void () { int c = mySuspendCounter.decrementAndGet(); if (c <= 0) { if (c < 0) { mySuspendCounter.set(0); // todo ask build team to investigate why MavenSetupProjectTest `test project import` failed with that error if (!ApplicationManager.getApplication().isUnitTestMode()) { LOG.warn("Invalid suspend counter state", new Exception()); } } super.resume(); } }