Guard against Q_GLOBAL_STATIC being destroyed at app shutdown

Review Request #129234 - Created Oct. 21, 2016 and submitted

Information
David Edmundson
kpackage
master
b7af394...
Reviewers
plasma

My last commit to work round an obscure crash introduced a more common crash. Oops. At least it's not released.

Q_GLOBAL_STATIC objects get deleted at app shutdown, however it seems so
do some other KPackage objects.

There's no point updating potentially finishing kjobs at shutdown, so we
can simply put a guard around the global object.

kquitapp5 plasmashell, no crashes.

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
kdelibs style if () { } also for one liners Marco Martin Marco Martin
Marco Martin
David Edmundson
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 579c87a6b25152cd5c36aed10eb5509354316f62 by David Edmundson to branch master.
Loading...