关于Lua的scheduleUpdate中移除自身闪退的问题

如题:
在lua中创建个node,调用scheduleUpdateWithPriorityLua方法,如果在回调中移除自身会出现闪退。代码如下:
local a = display.newNode():addTo(self)
printLog(“aaaa”,a:getReferenceCount())
a:scheduleUpdateWithPriorityLua(function(dt)
printLog(“bbbb”,a:getReferenceCount())
a:unscheduleUpdate()
a:removeFromParent()
end, 0)
只打印引用计数时log如下:
在回调中引用计数会变为1。
环境:cocos版本3.17.2 vs2015 win10系统
有人遇到这种情况么

:disappointed_relieved:求解,有人知道怎么解决吗