These afflictions are destroyed in a subtle way along with the passing out of the activity.
The vehicle of actions has its origin in afflictions, and is experienced in visible and invisible births.
So, the experience of pleasure and pain is due to the fruit of karmas of virtue and vice respectively.