* Stops the task execution.
()
| 37 | * Stops the task execution. |
| 38 | */ |
| 39 | stop() { |
| 40 | this.isRunning_ = false; |
| 41 | if (this.currentRAF_ !== 0) { |
| 42 | cancelAnimationFrame(this.currentRAF_); |
| 43 | this.currentRAF_ = 0; |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | /** @private */ |
| 48 | loop_() { |
no outgoing calls
no test coverage detected