mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-31 17:43:04 -06:00
Don't render the template in memory to avoid out of memory exceptions
Fixes #88
This commit is contained in:
parent
d6507598fa
commit
94165dcd8d
|
|
@ -52,8 +52,8 @@ namespace DiscordChatExporter.Core.Services
|
|||
// Configure output
|
||||
context.PushOutput(new TextWriterOutput(output));
|
||||
|
||||
// Render template
|
||||
template.Render(context);
|
||||
// Render output
|
||||
context.Evaluate(template.Page);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue