()
| 58 | } |
| 59 | |
| 60 | disable(): void { |
| 61 | this.disabled = true; |
| 62 | this.queue = []; |
| 63 | if (this.sink !== null) { |
| 64 | this.sink.stopPeriodicFlush(); |
| 65 | this.sink.clearBuffer(); |
| 66 | this.sink = null; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | enable(): void { |
| 71 | this.disabled = false; |
no test coverage detected