Skip to content

Commit 4affbe3

Browse files
committed
Wait image cache storage
1 parent afba3c0 commit 4affbe3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
using Flow.Launcher.Core.Resource;
1919
using Flow.Launcher.Infrastructure;
2020
using Flow.Launcher.Infrastructure.Hotkey;
21+
using Flow.Launcher.Infrastructure.Image;
2122
using Flow.Launcher.Infrastructure.UserSettings;
2223
using Flow.Launcher.Plugin.SharedCommands;
2324
using Flow.Launcher.ViewModel;
@@ -292,6 +293,7 @@ private async void OnClosing(object sender, CancelEventArgs e)
292293
_notifyIcon.Visible = false;
293294
App.API.SaveAppAllSettings();
294295
e.Cancel = true;
296+
await ImageLoader.WaitSaveAsync();
295297
await PluginManager.DisposePluginsAsync();
296298
Notification.Uninstall();
297299
// After plugins are all disposed, we can close the main window

0 commit comments

Comments
 (0)