1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00

Added back mdResponse.close()

Accidentally deleted it, whoops!
This commit is contained in:
Amos Ng 2020-06-12 03:18:39 +08:00
parent 40be05e4d4
commit 522c96f70f
No known key found for this signature in database
GPG key ID: 89086414F634D123

View file

@ -144,6 +144,7 @@ fun getServer(cache: DiskLruCache, serverSettings: ServerSettings, clientSetting
if (LOGGER.isTraceEnabled) {
LOGGER.trace("Upstream query for $sanitizedUri errored with status {}", mdResponse.status)
}
mdResponse.close()
Response(mdResponse.status)
} else {
if (LOGGER.isTraceEnabled) {