Skip to content

Conversation

@jwoo-msft
Copy link
Member

@jwoo-msft jwoo-msft commented Jan 10, 2022

Related Issue

We have an occasional test failure with IconsInSomeActions.json card. I'm pretty certain that this PR fixes the issue. If not, this PR will fix one of the possible failure paths.

The unit tests do not utilize resource resolvers. There is a small chance where image is loaded very fast, and activate the observer removal path. Because actions have been increasing the subscribers counts without checking if resolver interface is used, it will try to remove the observer, and will cause this exception.
This won't impact sdk users since the users use resource resolvers unlike in unit test scenarios.

Removed dead code that's not used.

Microsoft Reviewers: Open in CodeFlow

@jwoo-msft jwoo-msft enabled auto-merge (squash) January 11, 2022 00:06
@jwoo-msft jwoo-msft merged commit 5f05d08 into main Jan 11, 2022
@jwoo-msft jwoo-msft deleted the jwoo/ios-sync-fix branch January 11, 2022 22:50
michaelfarnsworth pushed a commit to michaelfarnsworth/AdaptiveCards that referenced this pull request Nov 10, 2022
* [ios] updated stack trace

* [ios] fixed worngnly incrementing subscriber counts
rankush pushed a commit to rankush/AdaptiveCards that referenced this pull request May 8, 2024
* [ios] updated stack trace

* [ios] fixed worngnly incrementing subscriber counts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants