summaryrefslogtreecommitdiff
path: root/source/slang/slang-compiler.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-07-01 14:02:28 -0400
committerGitHub <noreply@github.com>2022-07-01 11:02:28 -0700
commitb0ea5ed4da709312910898fa03b4dafc7a27e358 (patch)
tree70adea35a369d43bea79d71dcb2f8758772562aa /source/slang/slang-compiler.h
parent65cd44d54cc76d78777cde5f8a02b485056249f3 (diff)
Fix for issue with redirecting stdout/err to a file (#2311)
Diffstat (limited to 'source/slang/slang-compiler.h')
-rwxr-xr-xsource/slang/slang-compiler.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/slang/slang-compiler.h b/source/slang/slang-compiler.h
index e7114fc2c..5ba121742 100755
--- a/source/slang/slang-compiler.h
+++ b/source/slang/slang-compiler.h
@@ -2656,6 +2656,8 @@ namespace Slang
EndToEndCompileRequest(
Linkage* linkage);
+ ~EndToEndCompileRequest();
+
// What container format are we being asked to generate?
// If it's set to a format, the container blob will be calculated during compile
ContainerFormat m_containerFormat = ContainerFormat::None;
@@ -2761,11 +2763,7 @@ namespace Slang
{
return m_specializedEntryPoints[index];
}
- ~EndToEndCompileRequest()
- {
- m_linkage = nullptr;
- m_frontEndReq = nullptr;
- }
+
void generateOutput();