curso-r / stockfish

An R package to analyze chess games with the Stockfish engine
GNU General Public License v3.0
31 stars 2 forks source link

Put the finalizer into tryCatch() #8

Closed gaborcsardi closed 3 years ago

gaborcsardi commented 3 years ago

Because if the process is not running, e.g. because we called $quit() explicitly, then the methods of the process object will fail.

This and #5 together close #4.