diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-01 22:56:31 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-01 23:02:18 +0200 |
commit | 51ae913bfe3ee42c7da949b32f313a79e9c9f143 (patch) | |
tree | b449eb78e002f0b0b7194c5c1109dbac0daa8508 /Userland/Libraries/LibIMAP/Client.h | |
parent | f4c4b42db90aa16cdedb6d8b9bc9f3ade96a5284 (diff) | |
download | serenity-51ae913bfe3ee42c7da949b32f313a79e9c9f143.zip |
LibIMAP: Stop leaking a Core::Promise<bool> in IMAP::Client::connect()
Diffstat (limited to 'Userland/Libraries/LibIMAP/Client.h')
-rw-r--r-- | Userland/Libraries/LibIMAP/Client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibIMAP/Client.h b/Userland/Libraries/LibIMAP/Client.h index e39f88d158..3fb9095dbd 100644 --- a/Userland/Libraries/LibIMAP/Client.h +++ b/Userland/Libraries/LibIMAP/Client.h @@ -21,7 +21,7 @@ class Client { public: Client(StringView host, unsigned port, bool start_with_tls); - Optional<RefPtr<Promise<Empty>>> connect(); + RefPtr<Promise<Empty>> connect(); RefPtr<Promise<Optional<Response>>> send_command(Command&&); RefPtr<Promise<Optional<Response>>> send_simple_command(CommandType); void send_raw(StringView data); |