From d7407070d9a3ae81f6e26febad0eb36b54bfb9c8 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Thu, 23 Apr 2020 08:38:34 -0500 Subject: [PATCH] Remove redundant finish() call. 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 }