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.