Today I tried to use a Menu anchor, and at some point I tried to get all widgets of a specific class that was set as a menu, and every time the menu anchor opens, it creates a new copy of the widget, and it doesn’t seem to get destroyed. I am no expert but doesn’t that mean it keeps the widget data in the memory? and since it won’t be used again, shouldn’t it be destroyed?
Edit: Using 4.13