Commit c54cb057 authored by Michael Gratton's avatar Michael Gratton 🤞 Committed by Michael Gratton

Fix critical when email body load is cancelled

This was happening when a search query was changing rapidly as it was
being typed, hence conversations being quickly loaded and cancelled.
parent 4b3c1676
......@@ -611,6 +611,9 @@ public class ConversationEmail : Gtk.Box, Geary.BaseInterface {
// load timeout here since this will attempt to fetch
// from the remote
this.fetch_remote_body.begin();
} catch (GLib.IOError.CANCELLED err) {
this.body_loading_timeout.reset();
throw err;
} catch (GLib.Error err) {
this.body_loading_timeout.reset();
handle_load_failure(err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment