[PATCH] Cleanup unused CoreSessions
The attached patch detects if a CoreSession isn't of any use, deletes it and prevents it from beeing started automatically at next core startup.
A session is assumed useless if it has no clients attached and any irc network has been disconnected deliberately.
Until now, quasselcore starts a new thread for every user that once had a usefull session.
#2 Updated by seezer over 13 years ago
where are the remaining 10%? Is there something new or it is already done?
One of those things rotting in the bugtracker. It would have been merged in the time between featurefreeze and final release of 0.5.
Iirc some other core work produced merge conflicts by that time and i didn't want to introduce last-minute-core-bugs because the patch didn't get broad testing and i didn't receive any feedback. So i voted for skipping that patch for 0.5.
Since then I didn't look into that anymore. The problem still exists afaik.
As i still use a core with a series of patches on top of upstream, it's sometimes a bit messy to keep single patches like the above in my private core until it will or will not be merged some unpredictable time in the future :)
I hope to get some more quassel-time in a few weeks. If anyone is interested in that patch i could look into it again.