Question: Should the background parser delete ParseJobs?

David Nolden zwabel at googlemail.com
Sun Nov 1 22:40:13 UTC 2009


Am Samstag 31 Oktober 2009 16:12:48 schrieb Milian Wolff:
> Hi there!
> 
> In ~BackgroundParserPrivate() the ParseJob gets deleted, but I wonder why?
>  I mean they are owned by the LanguagePlugin, no? Shouldn't they delete the
>  jobs?
> 
Who says they are owned by the language plugin? Usually they are deleted by 
BackgroundParser::parseComplete, so the background-parser owns them.

Greetings, David




More information about the KDevelop-devel mailing list