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,8 +102,11 @@ void updateService() {
if (bisDesktop) service = new KService( fileName.path() ); if (bisDesktop) service = new KService( fileName.path() );
} }
~desktop() { ~desktop() {
if(service) {
service = NULL;
delete service; delete service;
} }
}
}; };
typedef KGenericFactory<autostart, TQWidget> autostartFactory; typedef KGenericFactory<autostart, TQWidget> autostartFactory;

Loading…
Cancel
Save