diff options
author | Simon Schampijer <simon@schampijer.de> | 2006-12-21 13:28:51 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2006-12-21 13:28:51 (GMT) |
commit | 60a40cbf3c9d684b3400da7acd430b14d7082456 (patch) | |
tree | d2bbd52772a7b6db526e23bd5022c3de5076caee /activity | |
parent | eb6a799878e434fed0d79e45f65a3cf1bc7d4bc5 (diff) |
Well, memosono was adding up memory usage by each click on a tale. This is what a normal human would do as well when playing the memory game;) But the advantag of computers is...just kidding.
The problem was the usage of pixbuf. A new pixbuf was created by each click and the memory did not gets deleted after the object was out of scope. Fixes were the addition of those two lines:
del ppixbuf_i
gc.collect()
Deleting the pixbuf and calling the garbage collector manually.
Bug with the best story.
Diffstat (limited to 'activity')
0 files changed, 0 insertions, 0 deletions