We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 version : PubNub (= 3.7.11)
In my app i do the following (viewDidLoad)
"PNConfiguration *configuration = [PNConfiguration configurationForOrigin:kPubNubURL publishKey:kPubNubPublishKey subscribeKey:kPubNubSubscribeKey secretKey:kPubNubSecretKey cipherKey:kPubNubCipherKey]; configuration.useSecureConnection = YES; self.pubNub = [PubNub connectingClientWithConfiguration:configuration andSuccessBlock:^(NSString *origin) { [self.pubNub setDelegate:self]; [self.pubNub setClientIdentifier:self.myselfChatMember.chatId]; self.channel = [PNChannel channelWithName:[self channelKey] shouldObservePresence:NO]; [self.pubNub subscribeOn:@[self.channel]]; [self loadChatHistory]; } errorBlock:^(PNError *error) { DLog("%@",error); }];"
Then in my dealloc
[self.pubNub setDelegate:nil]; [self.pubNub unsubscribeFrom:@[self.channel]]; [self.pubNub disconnect]; self.pubNub = nil; }
If i pop that controller ocasionally i get a crash. Seems like after the PubNub object is released is still trying to call a notification.
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Fabian, we may already have a fix for this, can you contact us at support@pubnub.com so we can get some more information from you?
On Fri, Jun 26, 2015 at 6:59 AM, Fabián notifications@github.com wrote:
[image: screen shot 2015-06-26 at 10 48 42 am] https://cloud.githubusercontent.com/assets/1914557/8378817/62289d6a-1bf2-11e5-8223-ea0aff36a391.png [image: screen shot 2015-06-26 at 10 48 18 am] https://cloud.githubusercontent.com/assets/1914557/8378818/622be812-1bf2-11e5-8e54-fdc3c01fb2da.png Reply to this email directly or view it on GitHub #108 (comment).
[image: screen shot 2015-06-26 at 10 48 42 am] https://cloud.githubusercontent.com/assets/1914557/8378817/62289d6a-1bf2-11e5-8223-ea0aff36a391.png [image: screen shot 2015-06-26 at 10 48 18 am] https://cloud.githubusercontent.com/assets/1914557/8378818/622be812-1bf2-11e5-8e54-fdc3c01fb2da.png
Reply to this email directly or view it on GitHub #108 (comment).
Geremy Cohen Director, Client Engineering PubNub
@geremyCohen Just did, but nobody asked about the extra info that you need.
No branches or pull requests
PubNub version : PubNub (= 3.7.11)
In my app i do the following (viewDidLoad)
Then in my dealloc
[self.pubNub setDelegate:nil];
[self.pubNub unsubscribeFrom:@[self.channel]];
[self.pubNub disconnect];
self.pubNub = nil;
}
If i pop that controller ocasionally i get a crash.
Seems like after the PubNub object is released is still trying to call a notification.
The text was updated successfully, but these errors were encountered: