Merge lp://staging/~tintou/appcenter/optimizations into lp://staging/~ricotz/appcenter/optimizations
Proposed by
Corentin Noël
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~tintou/appcenter/optimizations |
Merge into: | lp://staging/~ricotz/appcenter/optimizations |
Diff against target: |
36 lines (+8/-9) 1 file modified
src/Core/Package.vala (+8/-9) |
To merge this branch: | bzr merge lp://staging/~tintou/appcenter/optimizations |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Rico Tzschichholz | Pending | ||
Review via email: mp+309464@code.staging.launchpad.net |
Description of the change
I think it's better like this, tell me if it's a bad idea
To post a comment you must log in.
Unmerged revisions
- 331. By Corentin Noël
-
Use existing variables.
The boolean variable is not meant to catch race-conditions with threads, but simply the case if there is no matching package found or an error occurred, which the API suggests could happen.
If this function gets actually called in a multi-threaded environment adding a lock would make sense though.