Remove some errant temp directories

This commit is contained in:
Matt Nadareski
2023-03-09 13:45:42 -05:00
parent d351f1d08e
commit f68438ff8c
2 changed files with 1 additions and 7 deletions

View File

@@ -29,9 +29,6 @@ namespace BurnOutSharp.FileType
// If the MKB file itself fails
try
{
string tempPath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
Directory.CreateDirectory(tempPath);
// Create the wrapper
BinaryObjectScanner.Wrappers.AACSMediaKeyBlock mkb = BinaryObjectScanner.Wrappers.AACSMediaKeyBlock.Create(stream);
if (mkb == null)

View File

@@ -25,12 +25,9 @@ namespace BurnOutSharp.FileType
/// <inheritdoc/>
public ConcurrentDictionary<string, ConcurrentQueue<string>> Scan(Scanner scanner, Stream stream, string file)
{
// If the MKB file itself fails
// If the BD+ file itself fails
try
{
string tempPath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
Directory.CreateDirectory(tempPath);
// Create the wrapper
BinaryObjectScanner.Wrappers.BDPlusSVM svm = BinaryObjectScanner.Wrappers.BDPlusSVM.Create(stream);
if (svm == null)