liujiakuoyx / leak_detector

flutter memory leak detector.
BSD 2-Clause "Simplified" License
133 stars 24 forks source link

visitChildElements() called during build #14

Open JEFFZhong1990 opened 1 year ago

JEFFZhong1990 commented 1 year ago

有些页面pop的时候,会出现以下错误 visitChildElements() called during build. The Build Context.visitChildElements() method can't be called during build because the child list is still being updated at that point, so the children might not be constructed yet, or might be old children that are going to be replaced.

superAndroidMan commented 8 months ago

same question