We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e9387 commit 5beb012Copy full SHA for 5beb012
test/AppNotificationTests/AppNotifications.Test.h
@@ -241,7 +241,8 @@ namespace AppNotifications::Test
241
242
bool EnsureNoActiveToasts()
243
{
244
- auto removeAllAsync{ winrt::AppNotificationManager::Default().RemoveAllAsync() };
+ auto manager = winrt::AppNotificationManager::Default();
245
+ auto removeAllAsync{ manager.RemoveAllAsync() };
246
if (removeAllAsync.wait_for(c_timeout) != winrt::Windows::Foundation::AsyncStatus::Completed)
247
248
removeAllAsync.Cancel();
0 commit comments