- Run the code
- click the button
- perform GC / take a heap dump
- check the live objects (e.g. in VisualVM)
The <radio> component remains in memory even though it's been detached from the page
All detached components should be eligible for garbage collection.
the callback is added here: