summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/InputPort.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp
index 7e7412cc..71fd69e4 100644
--- a/src/server/InputPort.cpp
+++ b/src/server/InputPort.cpp
@@ -155,7 +155,9 @@ InputPort::pre_process(RunContext& context)
update_set_state(context, v);
// Prepare for write in case a set event executes this cycle
- buffer(v)->prepare_write(context);
+ if (!_parent->path().is_root()) {
+ buffer(v)->prepare_write(context);
+ }
}
} else if (direct_connect()) {
// Directly connected, use source's buffer directly