Re: Testing network availability



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/27/2017 10:02:01 AM Sat, Peter Bloomfield wrote:
…
The offending call is in ensure_send_progress_dialog, passing "parent" as the transient parent for the 
send-progress dialog, which is in turn called from lbs_process_queue_real, passing SendQueueInfo::parent. Gdb shows that 
send_info->parent is not balsa_app.main_window, which is supposed to be passed down from send_queued_mail_activated. 
It's also not been NULL, in the cases I've looked at.

Oops--I was looking at the wrong code path: if it's an instant send, not a queue-and-send-queued, the parent 
is the compose window, and it sometimes gets destroyed during the async check for reachability. Adding a 
ref/unref should keep it alive long enough.

Sorry for the noise!

Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlkpi7MACgkQH1/UtbkqdPXm2wCdGUxDm+m8yzLzVFwEmRpEIBjl
NAYAn08XG5gvgfbDNfBAr4j8Sqz89Who
=GJLw
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]