Skip to content

Check if observers are removed #4328

@llvmbot

Description

@llvmbot
Bugzilla Link 3956
Version unspecified
OS MacOS X
Reporter LLVM Bugzilla Contributor

Extended Description

HI,

A nice addition to the static analyzer would be to have it check for observers (KVO and NSNotificationCenter) not being removed. It seems like something that's right up its ally since it's a memory issue with making sure you have matching pairs. The dangling pointers that it can create are not good to have around.

Thanks

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions