Skip to content

Commit

Permalink
Remove redundant finish() call in wasm shell. (#870)
Browse files Browse the repository at this point in the history
Fixes #868.
  • Loading branch information
jneem authored Apr 24, 2020
1 parent 7445345 commit 0b9d918
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions druid-shell/src/platform/web/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 0b9d918

Please sign in to comment.