BackupHelper doesn't clean up its signal subscriptions

Bug #1614764 reported by Charles Kerr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Keeper
In Progress
Medium
Charles Kerr

Bug Description

The QObject::connect() call made in BackupHelper::set_storage_framework_socket() is never cleaned up.

The shared_ptr<QLocalSocket> passed in comes from unity::storage::qt::client::Uploader's socket() method. If storage-framework reuses that object -- which, in local_client/UploaderImpl.cpp, it does -- then we're making N concurrent signal connections to the same object.

This is probably the cause of the 'cumulative bytes of all tasks' issue that Xavi was seeing a week or so ago.

Related branches

Charles Kerr (charlesk)
Changed in keeper:
importance: Undecided → Medium
assignee: nobody → Charles Kerr (charlesk)
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.