The dijit.registry link is an instance of dijit.WidgetSet , which is a collection of widgets.
The remove() function accepts an input identifier and removes this widget with the corresponding identifier from the collection, if it is found.
In Dojo 1.4, a WidgetSet is defined within dijit / _base / manager.js .
The missing identifier is used internally because the key is considered in an associative array. It is used as: this._hash [id], so transferring garbage will result in nothing being found or deleted.
Abboq source share