()
| 731 | |
| 732 | @profile |
| 733 | public onUnloaded() { |
| 734 | this.setFlag(Flags.superOnUnloadedCalled, true); |
| 735 | if (!this._isLoaded) { |
| 736 | return; |
| 737 | } |
| 738 | |
| 739 | this._suspendNativeUpdates(SuspendType.Loaded); |
| 740 | |
| 741 | this.eachChild((child) => { |
| 742 | this.unloadView(child); |
| 743 | |
| 744 | return true; |
| 745 | }); |
| 746 | |
| 747 | this._isLoaded = false; |
| 748 | this._cssState.onUnloaded(); |
| 749 | this._emit('unloaded'); |
| 750 | } |
| 751 | |
| 752 | public _layoutParent() { |
| 753 | if (this.parent) { |
nothing calls this directly
no test coverage detected