Self destroy when widget is removed. Is the jQuery 1.8.2 behavior different then jQuery 1.7.2 ?

Self destroy when widget is removed. Is the jQuery 1.8.2 behavior different then jQuery 1.7.2 ?

I am porting my code in jquery ui 1.7 to 1.8.2 and there seem to be a change in the way widgets are self destroyed. They used to be "automatically" destroyed when I called .remove on the element that my widget was build upon.

When I look in the code of 1.7 I can see that widgets register themselves to the "remove" event (on jquery-ui-1.7.2.custom.js line 281). On the new 1.8 API the widget is registering itself on a custom even called "remove." + this.widgetName but this event does not seem to be triggered when I remove my widget element.

I would like to enjoy the behavior of self destruction when the object is removed.

Am I doing something wrong? Do I have to trigger the event myself?