mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
TestApp routes ILSpySettings to a fresh GUID dir under %TEMP%/ILSpy.Avalonia.Tests/ so production settings stay untouched, but the dirs were never removed — hundreds piled up across runs. Register a ProcessExit handler that deletes the active session's dir, plus sweep any leftovers from previous runs at startup so an interrupted session doesn't strand a stale folder forever. Both deletes are best-effort to avoid a Windows file-lock crash on shutdown. Assisted-by: Claude:claude-opus-4-7:Claude Codepull/3755/head
1 changed files with 26 additions and 1 deletions
Loading…
Reference in new issue