Skip to content

Commit 598224f

Browse files
committed
Remove worksheet cancellation on document change
This is unreliable because we change the document by adding newlines when we receive a multi-line result for a given line of the worksheet
1 parent 1404b3b commit 598224f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

language-server/src/dotty/tools/languageserver/DottyLanguageServer.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,6 @@ class DottyLanguageServer extends LanguageServer
202202
val uri = new URI(document.getUri)
203203
val worksheetMode = isWorksheet(uri)
204204

205-
if (worksheetMode) {
206-
Option(worksheets.get(uri)).foreach(_.cancel(true))
207-
}
208-
209205
thisServer.synchronized {
210206
checkMemory()
211207

0 commit comments

Comments
 (0)