fix #563 again : when game is closed, ignore log file content