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
This commit is contained in:
Jake Senne
2023-01-03 15:16:45 -06:00
committed by Joost VandeVondele
parent 4101893a28
commit fcee83810a
2 changed files with 4 additions and 6 deletions

View File

@@ -92,6 +92,7 @@ Ivan Ivec (IIvec)
Jacques B. (Timshel)
Jan Ondruš (hxim)
Jared Kish (Kurtbusch, kurt22i)
Jake Senne (w1wwwwww)
Jarrod Torriero (DU-jdto)
Jean Gauthier (OuaisBla)
Jean-Francois Romang (jromang)