void (@NotNull Content content) { myServiceLock.writeLock().lock(); try { RunDashboardServiceImpl service = findService(content); if (service == null) return; doRemoveServiceContent(service); } finally { myServiceLock.writeLock().unlock(); updateDashboard(true); } }