-
Notifications
You must be signed in to change notification settings - Fork 8
RDEV-8923 - Ensure Inner Views are Disposed #211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
RDEV-8923 - Ensure Inner Views are Disposed #211
Conversation
Vivokas20
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm clearly missing some context on this but I don't see any major issue atm
| } | ||
|
|
||
| public override bool ShowDeveloperTools => false; | ||
| public override bool ShowDeveloperTools => true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is the Sample.Avalonia but Is this intended or should it be reverted?
|
|
||
| export interface IChildViews { | ||
| ListView: TaskListView; | ||
| ListView: TaskListView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ListView: TaskListView | |
| ListView: TaskListView; |
|
|
||
|
|
||
| this.shadowRoot = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| this.shadowRoot = null; | |
| this.shadowRoot = null; |
fmgracias
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I lack some context but looks ok, good job
| component: React.ReactElement; | ||
| } | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra line break to remove
| } | ||
|
|
||
| if (frameName === mainFrameName) { | ||
| console.log(`Set ensureDisposeInnerViewsFlag to ${ensureDisposeInnerViews} for main frame`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be removed?
| ? MainModule.GetOrAddChildView<TaskListViewModule>(childViewName) | ||
| : MainModule.GetOrAddChildView<UsersViewModule>(childViewName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
context regarding these two type of views pls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah this is the sample, nvm
No description provided.