summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/NodeController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/ingenuity/NodeController.cpp')
-rw-r--r--src/progs/ingenuity/NodeController.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/progs/ingenuity/NodeController.cpp b/src/progs/ingenuity/NodeController.cpp
index 677bc8b5..641d975e 100644
--- a/src/progs/ingenuity/NodeController.cpp
+++ b/src/progs/ingenuity/NodeController.cpp
@@ -95,6 +95,7 @@ NodeController::NodeController(CountedPtr<NodeModel> model)
NodeController::~NodeController()
{
+ cerr << "~NodeController()\n";
destroy_module();
}
@@ -102,7 +103,9 @@ NodeController::~NodeController()
void
NodeController::destroy()
{
- delete this;
+ cerr << "FIXME: NODE DESTROYED\n";
+ destroy_module(); // cuts reference
+ //delete this;
}