Improve code quality

This commit is contained in:
Jack251970 2025-04-09 17:32:48 +08:00
parent 33800795ed
commit 2d29a42dc9

View file

@ -131,13 +131,10 @@ public abstract class ChromiumBookmarkLoader : IBookmarkLoader
} }
catch (Exception ex) catch (Exception ex)
{ {
File.Delete(tempDbPath);
Main._context.API.LogException(ClassName, $"Failed to copy favicon DB: {dbPath}", ex); Main._context.API.LogException(ClassName, $"Failed to copy favicon DB: {dbPath}", ex);
return; return;
} }
finally
{
File.Delete(tempDbPath);
}
try try
{ {