Skip to content

Close response file when it is no longer needed.#316

Merged
vbuberen merged 1 commit into
ChuckerTeam:developfrom
MiSikora:close-file-resource
Apr 6, 2020
Merged

Close response file when it is no longer needed.#316
vbuberen merged 1 commit into
ChuckerTeam:developfrom
MiSikora:close-file-resource

Conversation

@MiSikora

@MiSikora MiSikora commented Apr 6, 2020

Copy link
Copy Markdown
Contributor

📄 Context

There is an open issue. #311

📝 Changes

File resource containing response is now closed after Chucker reads from it.

🚫 Breaking

No.

🛠️ How to test

Apply StrictMode.setVmPolicy(StrictMode.VmPolicy.Builder().detectAll().penaltyLog().build()) to the test application. It should no longer warn about opened resources.

⏱️ Next steps

Closes #311

@vbuberen

vbuberen commented Apr 6, 2020

Copy link
Copy Markdown
Collaborator

Thanks for taking ownership and fixing that fast 👍

@vbuberen vbuberen merged commit 871f916 into ChuckerTeam:develop Apr 6, 2020
@cortinico cortinico added the bug Something isn't working label Apr 7, 2020
@cortinico cortinico added this to the 3.3.0 milestone Apr 7, 2020
@vbuberen vbuberen mentioned this pull request Apr 7, 2020
@wbervoets

Copy link
Copy Markdown

Hope 3.3.0 is released soon?

@MiSikora

Copy link
Copy Markdown
Contributor Author

Yes. We don't have an exact date, but the release is around the corner. Most likely this month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Closeable resource not closed

4 participants