AppsFlyerSDK / appsflyer-android-sdk

AppsFlyer Android SDK
Other
9 stars 2 forks source link

StrictMode:LeakedClosableViolation #53

Closed auxDK closed 1 year ago

auxDK commented 1 year ago

Library version: 6.10.1

Stack trace of the issue

StrictMode policy violation: android.os.strictmode.LeakedClosableViolation: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
                    at android.os.StrictMode$AndroidCloseGuardReporter.report(StrictMode.java:1986)
                    at dalvik.system.CloseGuard.warnIfOpen(CloseGuard.java:336)
                    at android.hardware.SystemSensorManager$BaseEventQueue.dispose(SystemSensorManager.java:770)
                    at android.hardware.SystemSensorManager$BaseEventQueue.finalize(SystemSensorManager.java:761)
                    at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:319)
                    at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:306)
                    at java.lang.Daemons$Daemon.run(Daemons.java:140)
                    at java.lang.Thread.run(Thread.java:1012)
                 Caused by: java.lang.Throwable: Explicit termination method 'BaseEventQueue.dispose' not called
                    at dalvik.system.CloseGuard.openWithCallSite(CloseGuard.java:288)
                    at dalvik.system.CloseGuard.open(CloseGuard.java:257)
                    at android.hardware.SystemSensorManager$BaseEventQueue.<init>(SystemSensorManager.java:692)
                    at android.hardware.SystemSensorManager$SensorEventQueue.<init>(SystemSensorManager.java:830)
                    at android.hardware.SystemSensorManager.registerListenerImpl(SystemSensorManager.java:203)
                    at android.hardware.SensorManager.registerListener(SensorManager.java:833)
                    at com.appsflyer.internal.AFa1bSDK$3.run(:210)
                    at android.os.Handler.handleCallback(Handler.java:942)
                    at android.os.Handler.dispatchMessage(Handler.java:99)
                    at android.os.Looper.loopOnce(Looper.java:201)
                    at android.os.Looper.loop(Looper.java:288)
                    at android.os.HandlerThread.run(HandlerThread.java:67)
github-actions[bot] commented 1 year ago

šŸ‘‹ Hi @auxDK and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at support@appsflyer.com. When submitting the ticket, please specify:

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.