diff --git a/engine/language-server/src/main/scala/org/enso/languageserver/requesthandler/refactoring/RenameProjectHandler.scala b/engine/language-server/src/main/scala/org/enso/languageserver/requesthandler/refactoring/RenameProjectHandler.scala index bdfa06d1a79e..8424cdc188c8 100644 --- a/engine/language-server/src/main/scala/org/enso/languageserver/requesthandler/refactoring/RenameProjectHandler.scala +++ b/engine/language-server/src/main/scala/org/enso/languageserver/requesthandler/refactoring/RenameProjectHandler.scala @@ -60,6 +60,7 @@ class RenameProjectHandler(timeout: FiniteDuration, runtimeConnector: ActorRef) _, Api.ProjectRenamed(oldNormalizedName, newNormalizedName, newName) ) => + replyTo ! ResponseResult(RenameProject, id, Unused) context.system.eventStream.publish( RefactoringProtocol.ProjectRenamedNotification( oldNormalizedName, @@ -67,7 +68,6 @@ class RenameProjectHandler(timeout: FiniteDuration, runtimeConnector: ActorRef) newName ) ) - replyTo ! ResponseResult(RenameProject, id, Unused) cancellable.cancel() context.stop(self)