private void forgetDeployment(@NotNull Deployment deployment) {
        synchronized (myLock) {
          String deploymentName = deployment.getName();
          myLocalDeployments.remove(deploymentName);
          myRemoteDeployments.remove(deploymentName);
        }
      }
private void forgetDeployment(@NotNull Deployment deployment)