renderer: add comment why we have dead code

This commit is contained in:
Mitchell Hashimoto
2024-05-04 14:10:12 -07:00
parent c56e016ab3
commit 0836aa7318

View File

@ -425,6 +425,10 @@ fn wakeupCallback(
// Render immediately
_ = renderCallback(t, undefined, undefined, {});
// The below is not used anymore but if we ever want to introduce
// a configuration to introduce a delay to coalesce renders, we can
// use this.
//
// // If the timer is already active then we don't have to do anything.
// if (t.render_c.state() == .active) return .rearm;
//