1
0
Fork 0

[client] Make fetchLineFragments while condition more restrictive.

Looks like the issue lies in the fact we don't have unique ids on a
per-line-fragment basis, so that's next up I guess.
This commit is contained in:
Starbeamrainbowlabs 2017-09-27 12:23:01 +01:00
parent c3952f0778
commit 03be60b3b0
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class ChunkCache
let lineFragments = [];
let currentChunk = this.fetchChunk(startingChunkRef);
while(currentChunk != null)
while(currentChunk instanceof Chunk)
{
let nextLineFragment = currentChunk.getLineById(lineId);
if(nextLineFragment == null)