浏览代码

Merge pull request #42 from Unity-Technologies/dev_1.17.5

fix merge issues
/siyaoH-1.17-PlatformMessage
GitHub 4 年前
当前提交
658985f9
共有 1 个文件被更改,包括 2 次插入16 次删除
  1. 18
      com.unity.uiwidgets/Runtime/scheduler2/binding.cs

18
com.unity.uiwidgets/Runtime/scheduler2/binding.cs


context: new ErrorDescription("during a task callback"),
informationCollector: callbackStack == null
? (InformationCollector) null
: (StringBuilder sb) => {
sb.AppendLine("\nThis exception was thrown in the context of a scheduler callback. " +
"When the scheduler callback was _registered_ (as opposed to when the " +
"exception was thrown), this was the stack: " + callbackStack);
}
: infoCollector
));
}

context: new ErrorDescription("during a scheduler callback"),
informationCollector: callbackStack == null
? (InformationCollector) null
: (StringBuilder information) => {
information.AppendLine(
"\nThis exception was thrown in the context of a scheduler callback. " +
"When the scheduler callback was _registered_ (as opposed to when the " +
"exception was thrown), this was the stack:"
);
foreach (var line in UIWidgetsError.defaultStackFilter(
callbackStack.TrimEnd().Split('\n'))) {
information.AppendLine(line);
}
}
: infoCollector
));
}

正在加载...
取消
保存