Fix crash on exit. This resolves bug report 1586.

pull/1/head
Francois Andriot 11 years ago committed by Darrell Anderson
parent 9f1e0a4c68
commit 9e301e056a

@ -102,7 +102,10 @@ void updateService() {
if (bisDesktop) service = new KService( fileName.path() ); if (bisDesktop) service = new KService( fileName.path() );
} }
~desktop() { ~desktop() {
delete service; if(service) {
service = NULL;
delete service;
}
} }
}; };

Loading…
Cancel
Save