jbenet / ios-ntp

SNTP implementation for iOS
http://code.google.com/p/ios-ntp/
MIT License
370 stars 112 forks source link

NetAssociation's -enable re-registers the instance as observer #20

Closed bogdanbolchis closed 9 years ago

bogdanbolchis commented 9 years ago

This causes -finish and -enable to be called additional times for the same instance. Reproducible by locking/unlocking the phone. After unlocking for the 5th time, the UI starts to lag while -enable is being called, and ultimately leads to a crash in GCDAsyncUDPSocket.