diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2018-05-24 20:50:32 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2018-05-28 11:25:27 +0000 |
commit | d03fb350672d311dccc06f0bcb4da744a3c99745 (patch) | |
tree | de4f798b80148757f091817786532fa9476afc0d /dist | |
parent | e8586c8d1247abff6388396ce4de92adf7305814 (diff) |
qmake: fix file id mapping lifetime management
turns out that flushing the ids together with the ProFile cache was an
abysmal idea, as the latter expires after a few seconds after loading
the project, while references to the ProFiles (and thus the underlying
file ids) are kept for as long as the project stays loaded. the early
flush would cause re-use of the file ids, which would wreak all kinds of
havoc when re-loading projects.
instead, ref-count the vfs class based on its instances.
amends 60245e55d7.
Task-number: QTCREATORBUG-20113
Change-Id: I7382a71af4d6a991156c05719deae9fb1e4fb278
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions