[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 134066] Preview screensavers not destroyed. (Memory leak)
From:       Tim Hutt <tdh29 () cam ! ac ! uk>
Date:       2006-09-14 14:18:19
Message-ID: 20060914141819.16613.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=134066         




------- Additional Comments From tdh29 cam ac uk  2006-09-14 16:18 -------
I have discovered that this is because the screensaver processes are mercilessly killed! How cruel.

This can be fixed by adding code like this to kscreensaver/main.cpp

void KillHandler(int)
{
  KApplication::exit();
}

int main(...)
{
  ...
  signal(SIGTERM, KillHandler);
  ...
}

And then all the screensavers should exit cleanly, which is a lot nicer.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic