Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PubNub.add(_:) - $specialized Set._Variant.update(with:) #129

Open
luisescamilla13 opened this issue Feb 15, 2023 · 2 comments
Open

PubNub.add(_:) - $specialized Set._Variant.update(with:) #129

luisescamilla13 opened this issue Feb 15, 2023 · 2 comments

Comments

@luisescamilla13
Copy link

We are getting a random crash when we call PubNub.add(_:)
It is not 100% reproducible

We have a class with this variable:
let listener: SubscriptionListener

We set the value of listener var in the init of the class:

init(keys: PubnubKeys, email: String) {
        // Setup PNConfiguration
        var configuration = PubNubConfiguration(publishKey: keys.publishKey, subscribeKey: keys.subscriptionKey, uuid: email)
        configuration.authKey = keys.token
        pubnub =  PubNub(configuration: configuration)
        listener = SubscriptionListener(queue: .main)
        pubnub.add(listener)
        ...

This is the stack trace from the crash report:
Screen Shot 2023-02-15 at 11 19 20

We are currently working with PubNub 6.0.3

@dterekhov
Copy link

Crashes for me as well, the same place.
Screenshot 2023-02-22 at 8 41 29 PM

@mjelzon
Copy link

mjelzon commented Apr 17, 2023

We are also experiencing this issue, is there any update?

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

No branches or pull requests

3 participants