Your Digital Media Has Never Looked So Good

 
pvallen
Topic Author
Posts: 1
Joined: Wed Jun 16, 2010 6:43 am

Fixing orphaned object error

Wed Jun 16, 2010 6:50 am

I don't recall ever seeing this message before when my app is unloaded (home key). Maybe it is new with the 2.6 firmware.

ERROR!!! - Found XXX orphaned objects.

I have assumed Brightscript does automatic garbage collection. Does this message indicate a problem with my application? Or simply that I had XXX objects at the time I unloaded? Is there something I should be doing to explicitly destroy objects to avoid this message?
 
User avatar
RokuKevin
Roku Engineering
Posts: 796
Joined: Tue Sep 22, 2009 2:29 pm

Re: Fixing orphaned object error

Tue Jun 22, 2010 1:16 pm

BrightScript does do garbage collection. The message does not indicate a problem with your application.... It simply means you had xxx objects at the time you unloaded. Since we are now killing apps when the "Home" button is pressed, it is more likely that you get these messages about objects still needing to be garbage collected at the time the app exits.

--Kevin

Who is online

Users browsing this forum: No registered users and 7 guests