saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
3.01k stars 1.21k forks source link

Activity com.serenegiant.usbcameratest4.MainActivity has leaked #464

Open hemantuno opened 5 years ago

hemantuno commented 5 years ago
04-15 03:20:11.141 12684-12684/com.serenegiant.usbcameratest4 E/ActivityThread: Activity com.serenegiant.usbcameratest4.MainActivity has leaked ServiceConnection com.serenegiant.serviceclient.CameraClient$1@b565015 that was originally bound here
    android.app.ServiceConnectionLeaked: Activity com.serenegiant.usbcameratest4.MainActivity has leaked ServiceConnection com.serenegiant.serviceclient.CameraClient$1@b565015 that was originally bound here
        at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1092)
        at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:986)
        at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1303)
        at android.app.ContextImpl.bindService(ContextImpl.java:1286)
        at android.content.ContextWrapper.bindService(ContextWrapper.java:604)
        at com.serenegiant.serviceclient.CameraClient.doBindService(CameraClient.java:162)
        at com.serenegiant.serviceclient.CameraClient.<init>(CameraClient.java:61)
        at com.serenegiant.usbcameratest4.CameraFragment.openUVCCamera(CameraFragment.java:234)
        at com.serenegiant.usbcameratest4.CameraFragment.tryOpenUVCCamera(CameraFragment.java:224)
        at com.serenegiant.usbcameratest4.CameraFragment.access$200(CameraFragment.java:59)
        at com.serenegiant.usbcameratest4.CameraFragment$1.onAttach(CameraFragment.java:175)
        at com.serenegiant.usb.USBMonitor$2$1.run(USBMonitor.java:538)
        at android.os.Handler.handleCallback(Handler.java:739)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:148)
        at android.os.HandlerThread.run(HandlerThread.java:61)
04-15 03:20:14.215 12684-12795/com.serenegiant.usbcameratest4 E/BufferQueueProducer: [SurfaceTexture-0-12684-2] connect(P): already connected (cur=1 req=1)
04-15 03:20:15.264 12684-12697/com.serenegiant.usbcameratest4 E/BufferQueueProducer: [SurfaceTexture-1-12684-3] connect(P): already connected (cur=1 req=1)