()
| 27 | } |
| 28 | |
| 29 | public disposeImageSource() { |
| 30 | if (this.nativeViewProtected?.image === this.imageSource?.ios) { |
| 31 | this.nativeViewProtected.image = null; |
| 32 | } |
| 33 | |
| 34 | if (this.imageSource?.ios) { |
| 35 | this.imageSource.ios = null; |
| 36 | } |
| 37 | |
| 38 | this.imageSource = null; |
| 39 | |
| 40 | queueGC(); |
| 41 | } |
| 42 | |
| 43 | public disposeNativeView(): void { |
| 44 | if (this.nativeViewProtected?.image) { |
no test coverage detected