]> git.sesse.net Git - stockfish/commit - src/syzygy/tbprobe.cpp
Only close file if already open
authorJake Senne <26696846+w1wwwwww@users.noreply.github.com>
Tue, 3 Jan 2023 21:16:45 +0000 (15:16 -0600)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 9 Jan 2023 19:16:17 +0000 (20:16 +0100)
commitfcee83810a5bcf774d3e13cf9e65ccf3b29e3319
tree84506a2bc3abd7f3c6a494f16c44cc7258e008cb
parent4101893a28b4d34262ed1fba10f2365e964b6537
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
AUTHORS
src/syzygy/tbprobe.cpp