Skip to content

Commit 2ebf955

Browse files
aleino-nvcsyonghe
andauthored
Document bug with global session teardown in user guide (#6479)
This closes #6344. Co-authored-by: Yong He <yonghe@outlook.com>
1 parent 1fb3c15 commit 2ebf955

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/user-guide/08-compiling.md

+4
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,10 @@ for compiling GLSL code. Without this setting, compiling GLSL code will result i
603603
> Currently, the global session type is *not* thread-safe.
604604
> Applications that wish to compile on multiple threads will need to ensure that each concurrent thread compiles with a distinct global session.
605605
606+
> #### Note ####
607+
> Currently, the global session should be freed after any objects created from it.
608+
> See [issue 6344](https://github.com/shader-slang/slang/issues/6344).
609+
606610
### Creating a Session
607611
608612
A _session_ uses the interface `slang::ISession`, and represents a scope for compilation with a consistent set of compiler options.

0 commit comments

Comments
 (0)