Skip to content

Demonstrates how the "sgnodes all" SceneGraph debug console command (port 8080) returns the reference counts held by the Roku OS (osref) and the channel itself (bscref)

Notifications You must be signed in to change notification settings

rokudev/sgnodes-all-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Sgnodes all": Returning "osref" and "bscref" counts

This sample channel demonstrates how the "sgnodes all" SceneGraph debug console command (port 8080) returns the reference counts held by the Roku OS (osref) and the channel itself (bscref).

To run this sample channel, follow these steps:

  1. Download and extract the sample channel.

  2. Follow the steps in Development environment setup to enable developer mode on your device, archive the files, and then sideload the archive to your Roku device.

  3. Open the SceneGraph debug console (port 8080).

  4. Enter the sgnodes all command

  5. In the UI of the sample channel, select a list item. Observe the osref and bscref counts in the debug console.

About

Demonstrates how the "sgnodes all" SceneGraph debug console command (port 8080) returns the reference counts held by the Roku OS (osref) and the channel itself (bscref)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published