@jen2
Do you mean that your Linux distro does not delete files in a reboot? I would expect that to happen, since that was the norm already at Unix. Ubuntu Studio 20.04.x seems to do it for external files - just tried with a couple of files.
Windows OS leaves everything in "temp", as discussed earlier on.