mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-31 23:08:23 -04: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue