nextcloud-desktop/src/libsync
Christian Kamm d01065b9a1 Fix crash on account deletion
Calling forgetSensitiveData() on account deletion leads to a timer for
clearQNAMCache() being queued. Then the Account object is deleted. The
Credentials object stays alive for now because it has a deleteLater
deleter.

If the timer calls into a slot on the Credentials object, the _account
pointer will be invalid at this time.

As a workaround, move the target slot to Account - that way it will not
be called as the account object is already destroyed.

However since Account and Credentials are mutually dependent, it would
be much preferable if their lifetimes were linked, avoiding this
category of bugs.

The current behavior was introduced in
d40c56eda5 and I currently don't
understand why - maybe there's another way of dealing with the problem
that existed then.
2017-07-06 14:34:02 +02:00
..
creds Fix crash on account deletion 2017-07-06 14:34:02 +02:00
abstractnetworkjob.cpp OAuth: cleanup debug messages 2017-06-13 12:08:24 +02:00
abstractnetworkjob.h Apply clang-format 2017-05-17 12:26:27 +02:00
accessmanager.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
accessmanager.h Apply clang-format 2017-05-17 12:26:27 +02:00
account.cpp Fix crash on account deletion 2017-07-06 14:34:02 +02:00
account.h Fix crash on account deletion 2017-07-06 14:34:02 +02:00
accountfwd.h License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
asserts.h Apply clang-format 2017-05-17 12:26:27 +02:00
bandwidthmanager.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
bandwidthmanager.h Apply clang-format 2017-05-17 12:26:27 +02:00
capabilities.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
capabilities.h Apply clang-format 2017-05-17 12:26:27 +02:00
checksums.cpp Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
checksums.h Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
clientproxy.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
clientproxy.h Apply clang-format 2017-05-17 12:26:27 +02:00
CMakeLists.txt Don't link dirrectly against openssl 2017-06-13 11:27:23 +02:00
configfile.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
configfile.h Apply clang-format 2017-05-17 12:26:27 +02:00
connectionvalidator.cpp Fix maintenance mode detection #5755 2017-06-06 10:45:41 +02:00
connectionvalidator.h Credentials: Simplify credential flow #5728 2017-05-22 10:52:18 +02:00
cookiejar.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
cookiejar.h Apply clang-format 2017-05-17 12:26:27 +02:00
discoveryphase.cpp Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
discoveryphase.h Classify chunked items correctly. Issue #5850 2017-07-03 14:41:53 +02:00
excludedfiles.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
excludedfiles.h Apply clang-format 2017-05-17 12:26:27 +02:00
filesystem.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
filesystem.h Apply clang-format 2017-05-17 12:26:27 +02:00
libsync.md Structure developer documentation 2015-06-29 18:43:21 +02:00
logger.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
logger.h Apply clang-format 2017-05-17 12:26:27 +02:00
networkjobs.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
networkjobs.h Apply clang-format 2017-05-17 12:26:27 +02:00
owncloudpropagator.cpp Blacklist: Don't let errors become warnings #5516 2017-07-04 13:07:51 +02:00
owncloudpropagator.h Apply clang-format 2017-05-17 12:26:27 +02:00
owncloudpropagator_p.h Apply clang-format 2017-05-17 12:26:27 +02:00
owncloudtheme.cpp Update central.owncloud.org link 2017-06-29 17:52:00 +02:00
owncloudtheme.h Apply clang-format 2017-05-17 12:26:27 +02:00
ownsql.cpp ownsql: fix build on jenkins 2017-06-08 12:53:45 +02:00
ownsql.h Apply clang-format 2017-05-17 12:26:27 +02:00
progressdispatcher.cpp Blacklist: Don't let errors become warnings #5516 2017-07-04 13:07:51 +02:00
progressdispatcher.h Apply clang-format 2017-05-17 12:26:27 +02:00
propagatedownload.cpp Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
propagatedownload.h Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
propagateremotedelete.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
propagateremotedelete.h Apply clang-format 2017-05-17 12:26:27 +02:00
propagateremotemkdir.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
propagateremotemkdir.h Apply clang-format 2017-05-17 12:26:27 +02:00
propagateremotemove.cpp Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
propagateremotemove.h Apply clang-format 2017-05-17 12:26:27 +02:00
propagateupload.cpp Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
propagateupload.h Classify chunked items correctly. Issue #5850 2017-07-03 14:41:53 +02:00
propagateuploadng.cpp Classify chunked items correctly. Issue #5850 2017-07-03 14:41:53 +02:00
propagateuploadv1.cpp Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
propagatorjobs.cpp Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
propagatorjobs.h Apply clang-format 2017-05-17 12:26:27 +02:00
syncengine.cpp Blacklist: Don't let errors become warnings #5516 2017-07-04 13:07:51 +02:00
syncengine.h Apply clang-format 2017-05-17 12:26:27 +02:00
syncfileitem.h Blacklist: Don't let errors become warnings #5516 2017-07-04 13:07:51 +02:00
syncfilestatus.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
syncfilestatus.h Apply clang-format 2017-05-17 12:26:27 +02:00
syncfilestatustracker.cpp Blacklist: Don't let errors become warnings #5516 2017-07-04 13:07:51 +02:00
syncfilestatustracker.h Apply clang-format 2017-05-17 12:26:27 +02:00
syncjournaldb.cpp Merge remote-tracking branch 'origin/2.3' 2017-06-22 14:06:31 +02:00
syncjournaldb.h Merge remote-tracking branch 'origin/2.3' 2017-06-22 14:06:31 +02:00
syncjournalfilerecord.cpp Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
syncjournalfilerecord.h Compare the hash of files with identical mtime/size #5589 2017-06-15 13:54:16 +02:00
syncresult.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
syncresult.h Apply clang-format 2017-05-17 12:26:27 +02:00
theme.cpp Don't link dirrectly against openssl 2017-06-13 11:27:23 +02:00
theme.h Authentication with OAuth2 2017-06-01 10:39:33 +02:00
utility.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
utility.h Apply clang-format 2017-05-17 12:26:27 +02:00
utility_mac.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
utility_unix.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
utility_win.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
version.h.in Reduce the amount of rebuild needed after a git commit 2015-06-17 14:32:34 +02:00