In fact there is no need for this so please just remove it. The `b2World` instance will be destroyed before the `ContactListener` (which will be deleted automatically in `QObject` destructor). So all will be fine without this.