Ralf Habacker wrote: > Should this not be in KUniqueApplication destructor ? But what about > application crashes or other abnormal terminations, are they routed also > over this destructor ? > > Ralf That was why I said it's a work around, not a real fix. I'm not sure what the real fix should be. Putting it in KUniqueApplication lets it work for all apps, but doesn't do anything to fix the crash case. Off the top of my head, I see a couple of possibilities: * When registering, from that point on monitor for that process exiting (crash or otherwise). Not sure how easy/practical this is to do. * When registering, check first that the previous instance hasn't exited. If it has, unregister it and allow the new registration to succeed. Shane. _______________________________________________ Kde-windows mailing list Kde-windows@kde.org https://mail.kde.org/mailman/listinfo/kde-windows