void (@NotNull RemoteServer<?> server) { RemoteServersServiceViewContributor contributor = findContributor(server); if (contributor != null) { myProject.getMessageBus().syncPublisher(ServiceEventListener.TOPIC) .handle(ServiceEventListener.ServiceEvent.createResetEvent(contributor.getClass())); } myServerToContent.remove(server); }