Closed mainto closed 6 years ago
Thanks for this fix. We highly appreciate it. The changes have been officially merged.
On Mon, Aug 6, 2018 at 1:43 PM, Deokhyun Ko notifications@github.com wrote:
When I called removeAllObservers() and/or removeObserver(withHandle: GFSQueryHandle) on GFSQuery, It fall into infinite loop on reset() function. When for loop started, query variable keep getting nil and never exit from loop. So, I fixed that issue. Please check my code and merge it if it look okay.
You can view, comment on, or merge this pull request online at:
https://github.com/imperiumlabs/Geofirestore-ios/pull/3 Commit Summary
- Fix infinite loop
File Changes
- M Geofirestore/Classes/Geofirestore.swift https://github.com/imperiumlabs/Geofirestore-ios/pull/3/files#diff-0 (16)
Patch Links:
- https://github.com/imperiumlabs/Geofirestore-ios/pull/3.patch
- https://github.com/imperiumlabs/Geofirestore-ios/pull/3.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/imperiumlabs/Geofirestore-ios/pull/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AaSzNp9tzY2Bn0Fe3O-HcAIz5ifFPwk4ks5uOKpygaJpZM4VxDfa .
Thanks!
When I called removeAllObservers() and/or removeObserver(withHandle: GFSQueryHandle) on GFSQuery, It fall into infinite loop on reset() function. When for loop started, query variable keep getting nil and never exit from loop. So, I fixed that issue. Please check my code and merge it if it look okay.