Skip to content
Snippets Groups Projects
Commit 7583039b authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

CppTools: Do not call GC() more than necessary


Currently GC() is invoked if
   - 5 CppEditors were closed or the last CppEditor was closed
   - a project is about to be removed
   - a session is about to be unloaded

Thus, for the following use cases, too much GC() calls (can) happen:
    - File > Close All
    - Close All Projects and Editors
    - Changing the session

Fixed by introducing a timer.

Change-Id: I9c984d9de735fc8c6ee77a518e9fb5b63dba5881
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 4bc61eca
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment