浏览代码

Ensure temporary layout manager state is cleared at the end of a layout phase

Change-Id: I28f3d20e6db999a033429338535719f14e495d4f
tags/7.7.2
Artur Signell 7 年前
父节点
当前提交
c665731b0b
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      client/src/main/java/com/vaadin/client/LayoutManager.java

+ 7
- 0
client/src/main/java/com/vaadin/client/LayoutManager.java 查看文件

@@ -600,6 +600,13 @@ public class LayoutManager {
Profiler.leave("layout PostLayoutListener");

cleanMeasuredSizes();
// Ensure temporary variables are cleaned
if (!pendingOverflowFixes.isEmpty()) {
getLogger().warning(
"pendingOverflowFixes is not empty at the end of doLayout: "
+ pendingOverflowFixes.dump());
pendingOverflowFixes = FastStringSet.create();
}

getLogger().info(
"Total layout phase time: " + totalDuration.elapsedMillis()

正在加载...
取消
保存