Skip to content

Commit

Permalink
Fix typo in RenderService
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry committed Sep 25, 2019
1 parent dd59cf0 commit 91767a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl Task for RenderTask {
let handle = self.0.take().expect("tried to cancel render twice");
js! { @(no_return)
var handle = @{handle};
cancelAnimationFrame(handle.timeout_id);
cancelAnimationFrame(handle.render_id);
handle.callback.drop();
}
}
Expand Down

0 comments on commit 91767a6

Please sign in to comment.