diff options
Diffstat (limited to 'src/engine/events/DestroyEvent.cpp')
-rw-r--r-- | src/engine/events/DestroyEvent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/events/DestroyEvent.cpp b/src/engine/events/DestroyEvent.cpp index 52c19945..a9597638 100644 --- a/src/engine/events/DestroyEvent.cpp +++ b/src/engine/events/DestroyEvent.cpp @@ -200,7 +200,7 @@ DestroyEvent::post_process() } if (_driver_port) { - _driver_port->elem()->unregister(); + _driver_port->elem()->destroy(); _engine.maid()->push(_driver_port); } } |