Skip to content

don't clear the dirty bit of an inactive node - #5614

Merged
Hixie merged 1 commit into
flutter:masterfrom
Hixie:reparent
Aug 26, 2016
Merged

Hixie merged 1 commit into
flutter:masterfrom
Hixie:reparent

Conversation

@Hixie

@Hixie Hixie commented Aug 26, 2016

Copy link
Copy Markdown
Contributor

Fixes #5588

@Hixie

Hixie commented Aug 26, 2016

Copy link
Copy Markdown
Contributor Author

cc @HansMuller for review

@abarth: you might find this one fun

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming that you meant to remove this assert, should we also remove the definition of debugPrintRebuildDirtyWidgets?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, scratch that. I see that you've moved this code below.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it was too noisy here. Now it only prints when you rebuild something active and dirty.

@HansMuller

Copy link
Copy Markdown
Contributor

LGTM

@Hixie

Hixie commented Aug 26, 2016

Copy link
Copy Markdown
Contributor Author

added a description. I'm not 100% sure it's accurate, but I'm, like, 85% sure.

@Hixie

Hixie commented Aug 26, 2016

Copy link
Copy Markdown
Contributor Author

will check in once travis goes green assuming there are no more comments

@Hixie
Hixie merged commit 934189d into flutter:master Aug 26, 2016
@Hixie
Hixie deleted the reparent branch August 26, 2016 20:32
@abarth

abarth commented Aug 30, 2016

Copy link
Copy Markdown
Contributor

crazy

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When a dirty node is not in the tree, we should not clear the dirty bit.

3 participants