Don't render the template in memory to avoid out of memory exceptions

Fixes #88
pull/123/head
Alexey Golub 6 years ago
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…
Cancel
Save