mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Discovery: local job shouldn't be parented
Since it'll be deleted by the thread pool.
This commit is contained in:
parent
53a217d4e4
commit
71f71b38f1
1 changed files with 1 additions and 1 deletions
|
@ -1433,7 +1433,7 @@ DiscoverySingleDirectoryJob *ProcessDirectoryJob::startAsyncServerQuery()
|
|||
void ProcessDirectoryJob::startAsyncLocalQuery()
|
||||
{
|
||||
QString localPath = _discoveryData->_localDir + _currentFolder._local;
|
||||
auto localJob = new DiscoverySingleLocalDirectoryJob(_discoveryData->_account, localPath, _discoveryData->_syncOptions._vfs.data(), this);
|
||||
auto localJob = new DiscoverySingleLocalDirectoryJob(_discoveryData->_account, localPath, _discoveryData->_syncOptions._vfs.data());
|
||||
|
||||
_discoveryData->_currentlyActiveJobs++;
|
||||
_pendingAsyncJobs++;
|
||||
|
|
Loading…
Reference in a new issue