Remove now-unnecessary loop

This commit is contained in:
itsjunetime
2025-03-01 19:12:08 -07:00
parent 70b458207a
commit 36279f5258
-2
View File
@@ -304,7 +304,6 @@ pub fn start_rendering(
// Then once we've rendered all these pages, wait until we get another notification // Then once we've rendered all these pages, wait until we get another notification
// that this doc needs to be reloaded // that this doc needs to be reloaded
loop {
// This once returned None despite the main thing being still connected (I think, at // This once returned None despite the main thing being still connected (I think, at
// least), so I'm just being safe here // least), so I'm just being safe here
let Ok(msg) = receiver.recv() else { let Ok(msg) = receiver.recv() else {
@@ -314,7 +313,6 @@ pub fn start_rendering(
} }
} }
} }
}
struct RenderedContext { struct RenderedContext {
pixmap: Pixmap, pixmap: Pixmap,