pubnub / swift

PubNub native Swift SDK for iOS, MacOS, WatchOS, TvOS
Other
31 stars 28 forks source link

Fix for Issue#129 and Issue#173 by fixing a threading issue with the original implementation. #186

Closed cmriboldi closed 2 months ago

cmriboldi commented 3 months ago

LockIsolated is a helper that will help avoid threading related crashes by ensuring the value is only referenced or edited by a single source at a time. There where two main crashes that were resulting from threading issues in the WeakBox and SubscriptionSession implementations. This light weight fix should avoid those threading issues in the future.

pubnub-release-bot commented 2 months ago

@cmriboldi this issue is addressed in 7.3.3