summaryrefslogtreecommitdiff
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 4238681f3..0f5d8e17a 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -751,6 +751,9 @@ SLANG_API void spDestroySession(
{
if(!session) return;
delete SESSION(session);
+#ifdef _MSC_VER
+ _CrtDumpMemoryLeaks();
+#endif
}
SLANG_API void spAddBuiltins(