From b6fec4bbd795c5165a67944163a85e41cace0acd Mon Sep 17 00:00:00 2001 From: Florent Lamiraux <florent@laas.fr> Date: Wed, 26 Jan 2011 09:49:51 +0100 Subject: [PATCH] Do not deregister entity in entity destructor. It is deregistered by the pool. --- src/dgraph/entity.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dgraph/entity.cpp b/src/dgraph/entity.cpp index bbda49a..b71ba72 100644 --- a/src/dgraph/entity.cpp +++ b/src/dgraph/entity.cpp @@ -71,7 +71,6 @@ Entity:: ~Entity () { dgDEBUG(25) << "# In (" << name << " { " << endl; - entityDeregistration(); for (std::map<const std::string, Command*>::iterator it = commandMap.begin(); it != commandMap.end(); it++) { delete it->second; -- GitLab