(type, time)
| 628 | } |
| 629 | |
| 630 | processTimerEventEnd(type, time) { |
| 631 | // Timer-events are infrequent, and not deeply nested, doing a linear walk |
| 632 | // is usually good enough. |
| 633 | for (let i = this._timerTimeline.length - 1; i >= 0; i--) { |
| 634 | const timer = this._timerTimeline.at(i); |
| 635 | if (timer.type == type && !timer.isInitialized) { |
| 636 | timer.end(time); |
| 637 | return; |
| 638 | } |
| 639 | } |
| 640 | console.error('Couldn\'t find matching timer event start', {type, time}); |
| 641 | } |
| 642 | |
| 643 | get icTimeline() { |
| 644 | return this._icTimeline; |