release_compute_device — Close a compute_device.
release_compute_device must not be used in HDevelop!
release_compute_device( : : DeviceHandle : )
release_compute_device closes a compute devices for the current HALCON thread and frees all resources associated to DeviceHandle. release_compute_device is solely for the purpose of freeing all device related resources before unloading the HALCON library, if the library was loaded using a mechanism like LoadLibrary or dlopen. In all other cases you must not use release_compute_device!
Compute device handle.
release_compute_device returns the value 2 (H_MSG_TRUE) if DeviceHandle was closed successfully. Otherwise an exception will be raised.
release_all_compute_devices, deactivate_compute_device, deactivate_all_compute_devices