sugarlabs / letters

Spell words from a group of random letters
GNU General Public License v3.0
1 stars 7 forks source link

Remove recursion on resize #5

Closed nswarup14 closed 5 years ago

nswarup14 commented 5 years ago

Fixes #3

Please review. I made the fix based on here

quozl commented 5 years ago

Thanks, but you've missed the point entirely.

run calls Gtk.main_iteration which handles the resize event and calls the resize callback, which then calls run again. If you generate a traceback in the resize callback, you'll see run underneath the current stack frame. Every time a resize happens, the stack gets deeper.

FollowMe has the same problem.