ICore::self()->activeSession() never NULL?

René J.V. Bertin rjvbertin at gmail.com
Thu Feb 16 22:56:34 UTC 2017


Hi,

I just had a crash-on-exit in ~GrepDialog(), evaluating

KConfigGroup cg = ICore::self()->activeSession()->config()->group( "GrepDialog" );

Impossible to say exactly what happened but the most likely explanation would seem that activeSession() returned NULL. Or is this guaranteed never to be the case?

R.


More information about the KDevelop-devel mailing list