When encountering an error during context creation, the "OptiXDevice" constructor aborts early. This means the "cuda_stream" vector is never resized and the destructor iterated over non-existent data.
When encountering an error during context creation, the "OptiXDevice" constructor aborts early. This means the "cuda_stream" vector is never resized and the destructor iterated over non-existent data.