piemonte / PBJVision

📸 iOS Media Capture – features touch-to-record video, slow motion, and photography

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot remove an observer

xuming120 opened this issue · comments

Cannot remove an observer <PBJVision 0x12b2be340> for the key path "currentDevice.torchMode" from <PBJVision 0x12b2be340>, most likely because the value for the key "currentDevice" has changed without an appropriate KVO notification being sent. Check the KVO-compliance of the PBJVision class. (null) (( 0 CoreFoundation 0x0000000182c1e5b8 <redacted> + 160 1 libobjc.A.dylib 0x000000019332c0e4 objc_exception_throw + 60 2 CoreFoundation 0x0000000182c1e4dc <redacted> + 0 3 Foundation 0x0000000183ac7d3c <redacted> + 620 4 Foundation 0x0000000183a33e24 <redacted> + 312 5 Foundation 0x0000000183a339b4 <redacted> + 104 6 YXShakerApp 0x10013c47c -[PBJVision _destroyCamera] + 272 7 YXShakerApp 0x100147710 __36-[PBJVision _sessionRuntimeErrored:]_block_invoke + 472 8 YXShakerApp 0x10013b340 __48-[PBJVision _enqueueBlockOnCaptureSessionQueue:]_block_invoke + 40 9 libdispatch.dylib 0x00000001939713ac <redacted> + 24 10 libdispatch.dylib 0x000000019397136c <redacted> + 16 11 libdispatch.dylib 0x000000019397b4c0 <redacted> + 1216 12 libdispatch.dylib 0x0000000193974474 <redacted> + 132 13 libdispatch.dylib 0x000000019397d224 <redacted> + 664 14 libdispatch.dylib 0x000000019397e75c <redacted> + 108 15 libsystem_pthread.dylib 0x0000000193b4d2e4 _pthread_wqthread + 816 16 libsystem_pthread.dylib 0x0000000193b4cfa8 start_wqthread + 4 )