Fixing CPU leak in new extension

Hi everyone,

I have completely re-written my extension DownFall to replace javascript Promises with GLib.timeout_add(), but I am still experiencing a CPU leak/lockup after letting it run for more than a minute. Also, the timeout in my “Matrix rain” code doesn’t seem to be getting stopped even though I explicitly disconnect it on the ‘destroy’ signal.

Can anyone see where I might be going wrong? The latest version of the code can be found on the review here

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.