Merge lp:~carlos-mazieri/ubuntu-filemanager-app/fix-network-crash-1609051 into lp:ubuntu-filemanager-app
Proposed by
Carlos Jose Mazieri
on 2017-01-27
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Alan Pope πΊπ§π± π¦ on 2017-01-27 | ||||
| Approved revision: | 585 | ||||
| Merged at revision: | 584 | ||||
| Proposed branch: | lp:~carlos-mazieri/ubuntu-filemanager-app/fix-network-crash-1609051 | ||||
| Merge into: | lp:ubuntu-filemanager-app | ||||
| Diff against target: |
94 lines (+21/-10) 3 files modified
src/plugin/folderlistmodel/networklistworker.cpp (+17/-6) src/plugin/folderlistmodel/networklistworker.h (+3/-3) src/plugin/folderlistmodel/networklocation.cpp (+1/-1) |
||||
| To merge this branch: | bzr merge lp:~carlos-mazieri/ubuntu-filemanager-app/fix-network-crash-1609051 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jenkins Bot | continuous-integration | Approve on 2017-01-27 | |
| Alan Pope πΊπ§π± π¦ | 2017-01-27 | Approve on 2017-01-27 | |
| Renato Araujo Oliveira Filho (community) | Approve on 2017-01-27 | ||
|
Review via email:
|
|||
Commit Message
FIX the netwotk crash when Localtion::m_info is deleted in the main thread
Description of the Change
FIX the netwotk crash when Localtion::m_info is deleted in the main thread because it is used in the worker thread, NetworkListWorker creates its own DirItemInfo instance and copies the data from Localtion::m_info to avoid that problem.
Location and descendant classes should be checked further to avoid deleting Localtion::m_info
To post a comment you must log in.
| Alan Pope πΊπ§π± π¦ (popey) wrote : | # |
Tested on up to date M10, that fixed the crasher. Many thanks.
review:
Approve
review:
Approve
(continuous-integration)

code looks good and works nice.