From 0b9d918ee24a2989b72e9a2d81933b847cfd25b5 Mon Sep 17 00:00:00 2001 From: jneem Date: Fri, 24 Apr 2020 07:37:10 -0500 Subject: [PATCH] Remove redundant finish() call in wasm shell. (#870) Fixes #868. --- druid-shell/src/platform/web/window.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/druid-shell/src/platform/web/window.rs b/druid-shell/src/platform/web/window.rs index a84abdbced..e94427f34b 100644 --- a/druid-shell/src/platform/web/window.rs +++ b/druid-shell/src/platform/web/window.rs @@ -99,10 +99,6 @@ impl WindowState { if let Err(e) = piet_ctx.finish() { log::error!("piet error on render: {:?}", e); } - let res = piet_ctx.finish(); - if let Err(e) = res { - log::error!("EndDraw error: {:?}", e); - } want_anim_frame }