Skip to content

Commit

Permalink
pkgs/ok_http: close cache on close()
Browse files Browse the repository at this point in the history
  • Loading branch information
Anikate-De committed Jun 3, 2024
1 parent a51c3dc commit 9270cc0
Show file tree
Hide file tree
Showing 3 changed files with 744 additions and 7 deletions.
2 changes: 2 additions & 0 deletions pkgs/ok_http/jnigen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ classes:
- "okhttp3.Callback"
- "okhttp3.ConnectionPool"
- "okhttp3.Dispatcher"
- "okhttp3.Cache"

# Exclude the deprecated methods listed below
# They cause syntax errors during the `dart format` step of JNIGen.
Expand Down Expand Up @@ -79,6 +80,7 @@ exclude:
- 'okhttp3.Headers\$Companion#-deprecated_of'
- "okhttp3.Headers#-deprecated_size"
- "okhttp3.Dispatcher#-deprecated_executorService"
- "okhttp3.Cache#-deprecated_directory"

class_path:
- "jar/okhttp-4.12.0.jar"
Loading

0 comments on commit 9270cc0

Please sign in to comment.