Basket content is saved at exit.