summaryrefslogtreecommitdiff
path: root/source/core/text-io.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/text-io.h')
-rw-r--r--source/core/text-io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/text-io.h b/source/core/text-io.h
index acdaf0b9d..9519d51f1 100644
--- a/source/core/text-io.h
+++ b/source/core/text-io.h
@@ -263,7 +263,7 @@ namespace Slang
}
void ReleaseStream()
{
- stream.Release();
+ stream = 0;
}
};
@@ -308,7 +308,7 @@ namespace Slang
}
void ReleaseStream()
{
- stream.Release();
+ stream = 0;
}
};
}