diff --git a/src/attributedlabel/src/NIAttributedLabel.m b/src/attributedlabel/src/NIAttributedLabel.m index a3e39e157..5ded33c6f 100644 --- a/src/attributedlabel/src/NIAttributedLabel.m +++ b/src/attributedlabel/src/NIAttributedLabel.m @@ -342,6 +342,8 @@ @implementation NIAttributedLabel - (void)dealloc { [_longPressTimer invalidate]; + [self invalidateAccessibleElements]; + // The property is marked 'assign', but retain count for this CFType is managed here and via // the setter. if (NULL != _textFrame) {