I'm try to plug the Framework API into existing project , that use older release from source.
I get
+[NSStream getStreamsToHostNamed:port:inputStream:outputStream:]:
on the line [self.client connect];
self.client = [[SmartFox2XClient alloc] initSmartFoxWithDebugMode:YES delegate:self];
[self.client loadConfig:@"config.xml" connectOnSuccess:NO];
client.logger.loggingLevel = LogLevel_DEBUG;
[self.client connect];
config.xml is the same as the one used in the latest Connection example/
SFSBUddyManager crash after connection is close.
Re: SFSBUddyManager crash after connection is close.
I replaced the source code API with Framework API i a perfectly working project. (Had to change linker flags to fix the NSStream error.)
The result is the same crash after I call client disconnect. So the code that manages Buddies is absolutely not identical. See the attached screen. It is from a project that has been in production for more than a year.
The error does not come up when the Buddy list is empty. So my bet is there is something fish with the way buddies are added/removed to the list.
The result is the same crash after I call client disconnect. So the code that manages Buddies is absolutely not identical. See the attached screen. It is from a project that has been in production for more than a year.
The error does not come up when the Buddy list is empty. So my bet is there is something fish with the way buddies are added/removed to the list.
- Attachments
-
- Screen Shot 2012-06-19 at 9.58.55 AM.png
- (248.92 KiB) Not downloaded yet
- A51Integrated
- Posts: 240
- Joined: 03 Jan 2012, 19:55
- Location: Toronto, Canada
- Contact:
Re: SFSBUddyManager crash after connection is close.
I can now replicate the bug when the buddy list is full. Thank you. We've also located the error and it has been fixed. We'll just package up a new release. Check the updates page for it soon.
A51 Integrated
http://a51integrated.com / +1 416-703-2300
http://a51integrated.com / +1 416-703-2300
Re: SFSBUddyManager crash after connection is close.
Thank you very much.
Return to “SFS2X iPhone / iPad / OSX API”
Who is online
Users browsing this forum: No registered users and 36 guests