Skip to content

Commit 2d29a42

Browse files
committed
Improve code quality
1 parent 3380079 commit 2d29a42

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/ChromiumBookmarkLoader.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,10 @@ private void LoadFaviconsFromDb(string dbPath, List<Bookmark> bookmarks)
131131
}
132132
catch (Exception ex)
133133
{
134+
File.Delete(tempDbPath);
134135
Main._context.API.LogException(ClassName, $"Failed to copy favicon DB: {dbPath}", ex);
135136
return;
136137
}
137-
finally
138-
{
139-
File.Delete(tempDbPath);
140-
}
141138

142139
try
143140
{

0 commit comments

Comments
 (0)