diff --git a/src/dgraph/entity.cpp b/src/dgraph/entity.cpp index bbda49a4f01821e4ea09056e389864f65441c8bf..b71ba725252c03cb5641e0144f800f2b4b9788d8 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;