mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
lst: do not force request tracker for light document without VirtualFile
GitOrigin-RevId: 59aa4be10d09acd652e4dca4fc96d5baefdee035
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ce266374c4
commit
16629935fa
@@ -128,7 +128,7 @@ class LineStatusTrackerManager(
|
||||
synchronized(LOCK) {
|
||||
for ((document, multiset) in forcedDocuments) {
|
||||
for (requester in multiset.elementSet()) {
|
||||
warn("Tracker for is being held on dispose by $requester", document)
|
||||
warn("Tracker is being held on dispose by $requester", document)
|
||||
}
|
||||
}
|
||||
forcedDocuments.clear()
|
||||
@@ -618,6 +618,8 @@ class LineStatusTrackerManager(
|
||||
}
|
||||
|
||||
private fun isTrackedEditor(editor: Editor): Boolean {
|
||||
// can't filter out "!isInLocalFileSystem" files, custom VcsBaseContentProvider can handle them
|
||||
if (fileDocumentManager.getFile(editor.document) == null) return false
|
||||
return editor.project == null || editor.project == project
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user