summaryrefslogtreecommitdiff
path: root/src/SimpleMustache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SimpleMustache.cc')
-rw-r--r--src/SimpleMustache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SimpleMustache.cc b/src/SimpleMustache.cc
index d2db99f..6f7acdc 100644
--- a/src/SimpleMustache.cc
+++ b/src/SimpleMustache.cc
@@ -116,6 +116,7 @@ void Balau::SimpleMustache::Context::empty(bool skipFirst) {
static const Balau::Regex changing("^(.*) +(.*)$");
void Balau::SimpleMustache::setTemplate(IO<Handle> _h) {
+ Task::SimpleContext simpleContext;
empty();
IO<BStream> h(new BStream(_h));
h->detach();