Skip to content

Commit 59be1eb

Browse files
committed
Close error stream
1 parent f18fdf4 commit 59be1eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

firebase-config/src/main/java/com/google/firebase/remoteconfig/internal/ConfigRealtimeHttpClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ public synchronized void closeRealtimeHttpStream() {
368368
// See github.com/firebase/firebase-android-sdk/pull/808.
369369
try {
370370
this.httpURLConnection.getInputStream().close();
371+
this.httpURLConnection.getErrorStream().close();
371372
} catch (IOException e) {
372373
}
373374
this.httpURLConnection = null;

0 commit comments

Comments
 (0)