From b4a5cb34e624d931082687b0d8e8ff647ae96e97 Mon Sep 17 00:00:00 2001 From: Michael Golubev Date: Thu, 23 Apr 2020 20:27:06 +0200 Subject: [PATCH] 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 --- .../impl/runtime/ui/RemoteServersDeploymentManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/ui/RemoteServersDeploymentManager.java b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/ui/RemoteServersDeploymentManager.java index c4573310cc84..523d977d6d46 100644 --- a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/ui/RemoteServersDeploymentManager.java +++ b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/ui/RemoteServersDeploymentManager.java @@ -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); } }); }