dart - Dart 使用引用隔离 SendPort 和 ReceivePort 问题
问题描述
在有引用的列表中,列表中的引用在接收端口接收后不再正确。图片保存在列表中。不引用列表中其他条目/图像的条目是正确的,但对其他图像的引用不再匹配。它们都引用同一个条目。我通过显示哈希值进行了检查。
InputList: inHash 0 729534725 (reference image1) inHash 1 58149970 (reference image2) inHash 2 729534725 (reference to image1) inHash 3 58149970 (reference to image2) inHash 4 729534725 inHash 5 58149970 inHash 6 729534725 inHash 7 58149970 inHash 8 729534725 inHash 9 58149970 inHash 10 729534725
sendAsyncPort.send(InputList)
received: outHash 0 732188156 (image1 ok) outHash 1 685649583 (image2 ok) outHash 2 685649583 (image2 wrong, input was reference to image1) outHash 3 685649583 outHash 4 685649583 outHash 5 685649583 outHash 6 685649583 outHash 7 685649583 outHash 8 685649583 outHash 9 685649583 outHash 10 685649583
有谁知道我该如何解决这个问题?
麦克风
解决方案
推荐阅读
- ios - 如何在 UIPickerview 中启用子视图的标签手势
- node.js - mysql和异步调用的NodeJS noob问题
- terraform - TF cidr_block 正确的字符串
- javascript - jquery自动完成中的unicode字体问题
- wordpress - 如何从子主题functions.php将php片段插入父主题文件
- r - 如何根据数据框名称中的单个字符在数据框中添加新列?
- php - 电子邮件欺骗错误:表单是从提交的电子邮件发送的,而不是服务器/域
- dockerfile - 如何为 ERPNext 开源 ERP 创建 Docker 镜像?
- regex - Linux 或 Vim:如何查找和替换匹配的字符串,除了最后一个字符?
- vue.js - 如何在模板上动态调用计算道具?