Clear the resource list when Solarus stops.