Update DiffStreamHandler.kt
This commit is contained in:
parent
627bbe9d13
commit
550d18d43f
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ class DiffStreamHandler(
|
|||
private fun handleFinishedResponse() {
|
||||
ApplicationManager.getApplication().invokeLater {
|
||||
// Since we only call onLastDiffLine() when we reach a "same" line, we need to handle the case where
|
||||
// we reach EOF while in a diff block, since we won't encounter a "same" line.
|
||||
// the last line in the diff stream is in the middle of a diff block.
|
||||
curLine.diffBlock?.onLastDiffLine()
|
||||
|
||||
onFinish()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue