RenderKit / embree

Embree ray tracing kernels repository.
Apache License 2.0
2.37k stars 389 forks source link

TBB warning on exit when thread affinity is enabled #417

Open FrancoisBeaune opened 1 year ago

FrancoisBeaune commented 1 year ago

Consider the following code:

RTCDevice device = rtcNewDevice("set_affinity=1");
RTCScene scene = rtcNewScene(device);
rtcReleaseScene(scene);
rtcReleaseDevice(device);

When running it with Embree 3.13.4 and TBB 2020.3, the following warning message is printed at process exit time:

TBB Warning: Leaked 1 observer_proxy objects

The warning is not printed when the default configuration is used.