mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-16 21:07:43 +01:00
Move temp file gen for File.Replace to separate file
This commit is contained in:
parent
e144956a48
commit
729795ff9e
2 changed files with 25 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ internal sealed partial class TextureManager
|
|||
throw new NullReferenceException($"{nameof(path)} cannot be null.");
|
||||
|
||||
using var wrapAux = new WrapAux(wrap, true);
|
||||
var pathTemp = $"{path}.{GetCurrentThreadId():X08}{Environment.TickCount64:X16}.tmp";
|
||||
var pathTemp = Util.GetTempFileNameForFileReplacement(path);
|
||||
var trashfire = new List<Exception>();
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue