mojira.dev
MC-151173

Stream used to read options.txt file never closed

See also MC-117449.

GameSettings.loadOptions() does not close the FileInputStream used to read the options.txt file.

It should be handled more similarly to saveOptions() which both properly specifies UTF-8 and also ensures the file stream is closed afterwards.

Linked issues

Comments 0

No comments.

Ben Staddon

boq

Unconfirmed

(Unassigned)

Minecraft 1.14, Minecraft 1.14.2

1.15 Pre-release 5

Retrieved