Draft: Fix NeoChat crashing on quit
NeoChat is crashing every time it's closed. This happens because Controller::instance()
is being deleted after AccountRegistry::instance()
, which cause use-after-free in Controller::~Controller()
.
Probably, fixes #505 (closed).
Edited by Jakub Nowak