[ 
https://issues.apache.org/jira/browse/THRIFT-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jake Farrell closed THRIFT-1662.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9
         Assignee: Jake Farrell

You are correct. - (void)removeObserver:(id)notificationObserver should have 
been used. fixed.
                
> "removeObject:" should be "removeObserver:" in [-TSocketServer dealloc]?
> ------------------------------------------------------------------------
>
>                 Key: THRIFT-1662
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1662
>             Project: Thrift
>          Issue Type: Bug
>          Components: Cocoa - Library
>    Affects Versions: 0.8
>            Reporter: Ken Morishita
>            Assignee: Jake Farrell
>             Fix For: 0.9
>
>
> in lib/cocoa/src/server/TSocketServer.m
> ---------------------------------------- this may be wrong
> - (void) dealloc {
>    [[NSNotificationCenter defaultCenter] removeObject:self];
> ---------------------------------------- this may be correct
> - (void) dealloc {
>   [[NSNotificationCenter defaultCenter] removeObserver:self];
> ----------------------------------------
> isn't it?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to