-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ContextInitializer.autoConfig() doesn't close resource that could be leak #191
Comments
I can't reproduce the problem. Can you provide a link to a GitHub repo that exhibits this? Note that you shouldn't be calling |
Did you set StrictMode? |
Yes
|
Ok, I'll try to reproduce this in a blank example and will upload it to github. |
I was able to reproduce the issue with some minor modifications to your code. The |
@tony19 thank you. I'll fix this. |
@tony19 I've checked. Without ci.autoConfig(); logback doesn't create new log file until app restart. |
Fixed in v_1.3.0-3 |
Hello.
but it still doesn't create new log file until app restart. |
@FilenkovMaxim That's unrelated to this issue, which was about a resource leak. With your original code (including Btw, you should replace |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
implementation 'com.github.tony19:logback-android:1.3.0-2'
Run
got the error
The text was updated successfully, but these errors were encountered: