3.8.3无障碍版中tap和gesture都导致内存不断上涨

[复制链接]
查看1453 | 回复2 | 2022-6-4 12:48:23 | 显示全部楼层 |阅读模式
测试代码:
clickPoint = function(x, y)
  local gesture = Gesture:new()
  local path = Path:new()
  path:setStartTime(0)
  path:setDurTime(1)
  path:addPoint(x, y)
  gesture:addPath(path)
  gesture:dispatch()
end

while true do
    --clickPoint(500,100)
    tap(500,100)
    sleep(100)
    collectgarbage("collect")
end

监测方法:
adb shell
watch -n 3 'ps|grep nx'

回复

使用道具 举报

firhb | 2022-7-12 13:17:51 | 显示全部楼层
本帖最后由 firhb 于 2022-7-12 13:19 编辑

,,,,,,,,,,,,
回复

使用道具 举报

437963206 | 2022-7-13 17:44:24 | 显示全部楼层
aw
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

31

主题

49

帖子

370

积分

中级会员

Rank: 3Rank: 3

积分
370