I don't think heat has anything to do with you losing CC. What are you watching when this happens? When it happens on one can you switch to the other (hopefully cooler) device and see if it's occurring on the same program/video?
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.