Forum Discussion
TheEndless
11 years agoRoku Guru
Interesting.. you're calling GetBitmap() three times in that code, and it doesn't blow up until the last one. I wouldn't expect it to, but have you tried only calling it once to see if it helps?
receivedBitmap = msg.GetBitmap()
if (type(receivedBitmap) = "roBitmap" or type(receivedBitmap) = "bitmap")
' execute the successCallback
successCallback(receivedBitmap, context)
else
DebugLog("AsyncTextureManager", "Bitmap download Failed")
end if