mirror of
https://github.com/itsjunetime/tdf.git
synced 2026-06-02 08:01:47 -04:00
Remove now-unnecessary loop
This commit is contained in:
@@ -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 {
|
||||||
@@ -313,7 +312,6 @@ pub fn start_rendering(
|
|||||||
handle_notif!(msg);
|
handle_notif!(msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct RenderedContext {
|
struct RenderedContext {
|
||||||
|
|||||||
Reference in New Issue
Block a user