Don't set error if already cancelled

Review Request #3790 — Created Jan. 29, 2025 and submitted

Information

ibis/ibis
default

Reviewers

The cancellable is only cancelled in ibis_client_stop, meaning it's either
shutting down or there's already an error, so there's no need to set one or
call ibis_client_stop again.

Ran ninja turtles only.

I'm not sure if this would have an effect on PIDGIN-18031?

Summary ID
Don't set error if already cancelled
The cancellable is only cancelled in `ibis_client_stop`, meaning it's either shutting down or there's already an error, so there's no need to set one or call `ibis_client_stop` again.
6cf282f028875626ed9e710ff2dcf4ab4aadd098
Description From Last Updated

We normally put this at the very top, above <glib/gi18n-lib.h> in this case and use angle brackets for it.

grimgrim
grim
  1. 
      
  2. ibis/ibisclient.c (Diff revision 1)
     
     
    Show all issues

    We normally put this at the very top, above <glib/gi18n-lib.h> in this case and use angle brackets for it.

  3. 
      
QuLogic
grim
  1. Great work and awesome find! Thank you so much!!

  2. 
      
grim
Review request changed
Status:
Completed