Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1662

"removeObject:" should be "removeObserver:" in [-TSocketServer dealloc]?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.9
    • Cocoa - Library
    • None

    Description

      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?

      Attachments

        Activity

          People

            jfarrell Jake Farrell
            mokemokechicken Ken Morishita
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: