eockh
14 years agoVisitor
roImageCanvas not closing
I have the following navigation stack in my channel: (roGridScreen -> roScreen -> roImageCanvas)
When I exit the roImageCanvas screen I call (close()) and set the reference to invalid. However when I exit the roScreen, the channel displays the roImageCanvas for a moment before displaying the roGridScreen. I have also tried the following code in an effort to at least clear the screen to black and I still get the artifacting:
canvas.allowupdates(true)
canvas.purgecachedimages()
canvas.SetLayer(0, {Color:"#FF000000", CompositionMode:"Source"})
canvas.SetLayer(1, {Color:"#FF000000", CompositionMode:"Source"})
canvas.show()
canvas.close()
canvas = invalid
Any ideas why the image canvas is not destroyed?
When I exit the roImageCanvas screen I call (close()) and set the reference to invalid. However when I exit the roScreen, the channel displays the roImageCanvas for a moment before displaying the roGridScreen. I have also tried the following code in an effort to at least clear the screen to black and I still get the artifacting:
canvas.allowupdates(true)
canvas.purgecachedimages()
canvas.SetLayer(0, {Color:"#FF000000", CompositionMode:"Source"})
canvas.SetLayer(1, {Color:"#FF000000", CompositionMode:"Source"})
canvas.show()
canvas.close()
canvas = invalid
Any ideas why the image canvas is not destroyed?