summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2022-12-29 14:53:05 +0100
committerLinus Groh <mail@linusgroh.de>2023-03-13 12:12:17 +0000
commitbfd9f681f7749734a3c0f6b0879fa78f7662a11e (patch)
treeb2c09a406a9fe4acbc246c6986954220844a313c /Userland/Applications/Browser
parentafd0f941b76f534e8a97d831a86bc938d074ebd1 (diff)
downloadserenity-bfd9f681f7749734a3c0f6b0879fa78f7662a11e.zip
LibCore+Userland: Allow canceling promises
To make EventLoop cancel its managed Promises, we need the ability to cancel them in the first place.
Diffstat (limited to 'Userland/Applications/Browser')
-rw-r--r--Userland/Applications/Browser/CookieJar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Browser/CookieJar.cpp b/Userland/Applications/Browser/CookieJar.cpp
index 76d987f8f8..cb07e08566 100644
--- a/Userland/Applications/Browser/CookieJar.cpp
+++ b/Userland/Applications/Browser/CookieJar.cpp
@@ -577,7 +577,7 @@ void CookieJar::select_all_cookies_from_database(OnSelectAllCookiesResult on_res
promise->resolve({});
});
- promise->await();
+ MUST(promise->await());
}
void CookieJar::purge_expired_cookies()