~rjarry/aerc#243: 
possible bug in panic handler

As discussed on IRC, there might be a bug in the panic handler.

Symptoms:

Calling this when the cb is nil ends up aerc exiting without any error, but otherwise completely normally (e.g. aerc-shutdown hook is called).

Robin also saw something similar (quote from IRC):

I am now wondering about some weird behaviour I was seeing last time when hitting "q" after :preview while reviewing a message before sending

Status
RESOLVED FIXED
Submitter
~ferdinandyb
Assigned to
No-one
Submitted
3 months ago
Updated
27 days ago
Labels
bug