diff --git a/NEWS.md b/NEWS.md index da86628b..2b9ff2fe 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,5 @@ Version 0.8.6 For Dev-C++ 7 Beta - - enhancement: greatly reduces memory usage for symbol parsing ( memory needed for bits/stdc++.h reduced from 150m+ to 50m+) + - enhancement: greatly reduces memory usage for symbol parsing ( memory needed for bits/stdc++.h reduced from 150m+ to 80m+) - fix: currect compiler set not correctly updated when switch between normal file and project file Version 0.8.5 For Dev-C++ 7 Beta diff --git a/RedPandaIDE/widgets/codecompletionpopup.cpp b/RedPandaIDE/widgets/codecompletionpopup.cpp index 9bc19456..78dbc867 100644 --- a/RedPandaIDE/widgets/codecompletionpopup.cpp +++ b/RedPandaIDE/widgets/codecompletionpopup.cpp @@ -894,6 +894,7 @@ void CodeCompletionPopup::hideEvent(QHideEvent *event) mIncludedFiles.clear(); mUsings.clear(); mAddedStatements.clear(); + mParser = nullptr; QWidget::hideEvent(event); } diff --git a/RedPandaIDE/widgets/headercompletionpopup.cpp b/RedPandaIDE/widgets/headercompletionpopup.cpp index 865ea1ad..3ec95200 100644 --- a/RedPandaIDE/widgets/headercompletionpopup.cpp +++ b/RedPandaIDE/widgets/headercompletionpopup.cpp @@ -227,6 +227,7 @@ void HeaderCompletionPopup::hideEvent(QHideEvent *) { mCompletionList.clear(); mFullCompletionList.clear(); + mParser = nullptr; } bool HeaderCompletionPopup::event(QEvent *event)