Skip to content

Commit 8b73909

Browse files
feat: add support for getAllPlugins
1 parent c000487 commit 8b73909

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/plugins/auth/src/android/PluginRetriever.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ private static JSONArray fetchJsonArray(String urlString, String token) {
168168

169169
Scanner s = new Scanner(conn.getInputStream(), "UTF-8").useDelimiter("\\A");
170170
String body = s.hasNext() ? s.next() : "[]";
171+
s.close();
171172
return new JSONArray(body);
172173
} catch (Exception e) {
173174
Log.e(TAG, "fetchJsonArray error: " + e.getMessage(), e);

0 commit comments

Comments
 (0)