close
Closes the engine: aborts a running generation, rejects queued and future calls with IllegalStateException, frees the sampler, contexts and model on the engine thread, and stops that thread. Idempotent and safe from any thread.
Closes the engine: aborts a running generation, rejects queued and future calls with IllegalStateException, frees the sampler, contexts and model on the engine thread, and stops that thread. Idempotent and safe from any thread.