background parser during shutdown

René J.V. Bertin <[email protected]>
Newsgroups gmane.comp.kde.devel.kdevelop
Message-ID <3328422.znQNqx1QrE@bola>
Hi,

Just a quick question. The background parser (kdevplatform/backgroundparser/backgroundparser.cpp) has a provision that causes it to ignore documents queued for parsing when KDevelop is shutting down, via simple state member variable.

It doesn't use that same flag to stop adding new documents in BackgroundParser::addDocument() (I observed at least the active document being added twice during shutdown). Is there a specific reason for that?

R.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.