summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/events/Delete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp
index 3cb946b9..b19ffd18 100644
--- a/src/server/events/Delete.cpp
+++ b/src/server/events/Delete.cpp
@@ -76,7 +76,7 @@ Delete::pre_process(PreProcessContext& ctx)
_port = dynamic_ptr_cast<DuplexPort>(iter->second);
}
- if (!_block && !_port) {
+ if ((!_block && !_port) || (_port && !_engine.driver()->dynamic_ports())) {
return Event::pre_process_done(Status::NOT_DELETABLE, _path);
}