equal
deleted
inserted
replaced
412 // Close the client socket |
412 // Close the client socket |
413 SDLNet_TCP_Close(csd); |
413 SDLNet_TCP_Close(csd); |
414 SDLNet_Quit(); |
414 SDLNet_Quit(); |
415 |
415 |
416 [pool release]; |
416 [pool release]; |
|
417 |
|
418 [self performSelectorOnMainThread:@selector(release) withObject:nil waitUntilDone:YES]; |
417 // Invoking this method should be avoided as it does not give your thread a chance |
419 // Invoking this method should be avoided as it does not give your thread a chance |
418 // to clean up any resources it allocated during its execution. |
420 // to clean up any resources it allocated during its execution. |
419 //[NSThread exit]; |
421 //[NSThread exit]; |
420 } |
422 } |
421 |
423 |