From: Jake Senne <26696846+w1wwwwww@users.noreply.github.com> Date: Tue, 3 Jan 2023 21:16:45 +0000 (-0600) Subject: Only close file if already open X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=fcee83810a5bcf774d3e13cf9e65ccf3b29e3319;hp=fcee83810a5bcf774d3e13cf9e65ccf3b29e3319;p=stockfish Only close file if already open Ensures that the tablebase file is only closed if already open. Fixes #4268 Closes https://github.com/official-stockfish/Stockfish/pull/4321 No functional change ---