deleteListReference
Removes a reference from the listStore so a list can can be garbage collected.
connection.addInstanceReference( instance )
Decrements the number of references to a list in the listStore. Removes the list if there are no longer any references.
Parameters
- list
{Instance}
:the list to remove
Usage
deleteListReference
is called to remove references to instances in the listStore so that lists maybe garbage collected. It's usually called when the application or some part of the application no longer is interested in a list.addListReference has an example of adding a list to the store. The following continues that example to remove the
dueToday
list from the store:todoConnection.deleteListReference(dueToday);
Also see the usage example on the index page for a more complete example of the lifecycle of a reference.