CodeScanner icon indicating copy to clipboard operation
CodeScanner copied to clipboard

Strong reference cycle causing a memory leak

Open xmanu opened this issue 1 year ago • 2 comments

Recent versions of CodeScanner contain a strong reference cycle and therefore prevent the view from being correctly released. This was introduced somewhere after version 2.0.0.

This might also be the culprit for #121.

I have isolated the issue to the strong reference of [self] being captured while creating the handler. I will shortly create a PR to fix this issue.

xmanu avatar Aug 23 '24 09:08 xmanu

I'm sorry if this is bad etiquette or too pushy:

Is there any way this could be merged soonish? The change is really small and it would be nice if this could be released as a new version.

I don't know who to tag here, maybe @nathanfallet or @twostraws ?

Otherwise I have to link our project to my branch, which I would really like to prevent...

xmanu avatar Sep 11 '24 09:09 xmanu

Since this has been merged, shouldn't it be marked as closed?

sbeitzel avatar Dec 13 '24 04:12 sbeitzel