()
| 485 | const sheetChangeWatcher = createSheetWatcher(element, safeGetSheetRules, update, isAsyncCancelled); |
| 486 | |
| 487 | function pause() { |
| 488 | observer.disconnect(); |
| 489 | cancelAsyncOperations = true; |
| 490 | corsCopyPositionWatcher && corsCopyPositionWatcher.stop(); |
| 491 | syncStylePositionWatcher && syncStylePositionWatcher.stop(); |
| 492 | sheetChangeWatcher.stop(); |
| 493 | } |
| 494 | |
| 495 | function destroy() { |
| 496 | pause(); |
no test coverage detected