Dub platform probes
Tim
t.oliver at windowslive.com
Thu May 28 02:28:07 UTC 2020
On Wednesday, 27 May 2020 at 21:17:54 UTC, Andre Pany wrote:
> I read through the source code. The probe file is created here
> https://github.com/dlang/dub/blob/master/source/dub/compilers/utils.d#L296
> The function getTempFile determines a new random temp file name
> and stores the file path in a global variable. A module
> destructor loops through this string array list and deletes the
> temp files
> https://github.com/dlang/dub/blob/master/source/dub/internal/utils.d#L98
>
> I wonder why in your case the temp files are not deleted.
>
> Kind regards
> Andre
Me too. I have noticed that sometimes I don't need to and other
times I do. Maybe it is to do with program crashes where it isn't
cleaned up? I'll keep a closer eye on it
More information about the Digitalmars-d-learn
mailing list