EA-140831 - assert: ProjectLevelVcsManagerImpl.stopBackgroundTask

Do not use potentially mutable VirtualFile.getPath() for equality checks.
This commit is contained in:
Aleksey Pivovarov
2019-04-01 18:44:35 +03:00
parent aebaed29bc
commit 8b65a41edc
@@ -37,6 +37,6 @@ public class VcsAnnotateUtil {
@NotNull
public static BackgroundableActionLock getBackgroundableLock(@NotNull Project project, @NotNull VirtualFile file) {
return BackgroundableActionLock.getLock(project, VcsBackgroundableActions.ANNOTATE, file.getPath());
return BackgroundableActionLock.getLock(project, VcsBackgroundableActions.ANNOTATE, file);
}
}