50ButtonsEach / fliclib-ios

The fliclib framework for iOS
35 stars 5 forks source link

__46-[BCBCentralManager monitorPendingConnections]_block_invok crash #23

Open youss-cs opened 8 years ago

youss-cs commented 8 years ago

Hi, i'm using onLocationChange method like this :

func locationManager(manager: CLLocationManager, didUpdateToLocation newLocation: CLLocation, fromLocation oldLocation: CLLocation) {
        SCLFlicManager.sharedManager()?.onLocationChange()
}

I'm getting this crash many time from my users :

Crashed: com.apple.root.user-initiated-qos
0  libobjc.A.dylib                0x18cbed704 objc_object::release() + 8
1  fliclib                        0x101398800 __46-[BCBCentralManager monitorPendingConnections]_block_invoke + 216
2  libdispatch.dylib              0x18d0251c0 _dispatch_client_callout + 16
3  libdispatch.dylib              0x18d032008 _dispatch_continuation_pop + 576
4  libdispatch.dylib              0x18d03e648 _dispatch_source_latch_and_call + 204
5  libdispatch.dylib              0x18d027164 _dispatch_source_invoke + 820
6  libdispatch.dylib              0x18d03538c _dispatch_root_queue_drain + 572
7  libdispatch.dylib              0x18d0350ec _dispatch_worker_thread3 + 124
8  libsystem_pthread.dylib        0x18d22d2c8 _pthread_wqthread + 1288
9  libsystem_pthread.dylib        0x18d22cdb4 start_wqthread + 4

Any idea ?