Removes a reference to a list by listSet so it can be garbage collected.
connection.addInstanceReference( instance )
Decrements the number of references to an list in the listStore. Removes the list if there are no longer any references.
The list to remove.
deleteListReference is called to remove references to lists in
the listStore so the lists maybe garbage
collected. It's usually called when the application or some part of the application no
longer is interested in an list.
addListReference has an example of adding
a list to the store. The following continues that example to remove
dueToday from the store: