pavi2410
11/22/2021, 1:52 PMURL.readText()
extension function from stdlib but for some unknown reason, it's not close
-ing the resources. However, the output is just printed fine at line 43Joffrey
11/22/2021, 2:04 PMURL.readText
internally calls:
openStream().use { it.readBytes() }
the call to use
here should automatically close the input stream, so I don't believe this should be causing any problemspavi2410
11/22/2021, 2:06 PMJoffrey
11/22/2021, 2:31 PMpavi2410
11/22/2021, 2:31 PM