IDEA-238200: Ensure Docker plugin is dynamic

- fix leak in RemoteServersDeploymentManager, force remove message panel for server
- - server type is already null during unloading, so contributor can't recognize the server

GitOrigin-RevId: afc9b407ebb854c67f14ab81cc6aa02c465f1429
This commit is contained in:
Michael Golubev
2020-04-23 18:49:41 +00:00
committed by intellij-monorepo-bot
parent 5906322598
commit b4a5cb34e6
@@ -113,8 +113,8 @@ public class RemoteServersDeploymentManager {
if (contributor != null) {
myProject.getMessageBus().syncPublisher(ServiceEventListener.TOPIC)
.handle(ServiceEventListener.ServiceEvent.createResetEvent(contributor.getClass()));
myServerToContent.remove(server);
}
myServerToContent.remove(server);
}
});
}