]> dgit.raspbian.org Git - nextcloud-desktop.git/commit
Attempt to fix the Account::slotHandleSslErrors crash
authorJocelyn Turcotte <jturcotte@woboq.com>
Wed, 15 Jun 2016 16:05:56 +0000 (18:05 +0200)
committerJocelyn Turcotte <jturcotte@woboq.com>
Wed, 15 Jun 2016 16:12:02 +0000 (18:12 +0200)
commit147cf798a6f13c9b53a9f1fb2db1ef26c8c63273
tree9aff672a3220fe9dd9fb7e523e97888ff9567b29
parentd40c56eda561e3a541bf1b23f70fa8d659d3037e
Attempt to fix the Account::slotHandleSslErrors crash

Events from the crash reporter suggest that the QNAM and its
child replies might get deleted before returning from this method
and the only possible cause we can see is that the inner event
loop has something to do with it.

Try keeping a ref on the QNAM while in this method to make sure
that it won't get deleted by the inner event loop.
src/libsync/account.cpp