Skip to content

Commit d77d46d

Browse files
committed
testing fix for channel data going black
1 parent 70ca4b4 commit d77d46d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/chunk_manager/frontend.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,9 @@ function updateChunk(rpc: RPC, x: any) {
326326
`${source.rpcId} ${x.id} ${x.state} with chunkDataSize ${x.chunkDataSize}`,
327327
);
328328
}
329+
if (!source) {
330+
return; // DEBUGGING
331+
}
329332
const queueManager = source.chunkManager.chunkQueueManager;
330333
if (source.immediateChunkUpdates) {
331334
if (queueManager.applyChunkUpdate(x)) {

0 commit comments

Comments
 (0)