when i connect to server i get this error !
this is my code
Code: Select all
if (!self.sfs) {
[self setSfs:[[SmartFox2XClient smartFoxWithDebugMode:NO delegate:self] autorelease]];
[self.sfs setUseBlueBox:NO];
}
[self.sfs connect:socket_ip port:9933];
There is no problem if i create a new SmartFox2XClient instance to connect to server . but what i want to know is how i can release the pre instance ,because of this my app now have a terrible memory leak .