1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Hadrons: freeing object message fix

This commit is contained in:
Antonin Portelli 2016-12-05 09:08:45 +09:00
parent 1540616b22
commit ee5b1fe043

View File

@ -640,7 +640,7 @@ bool Environment::freeObject(const unsigned int address)
{ {
if (!hasOwners(address)) if (!hasOwners(address))
{ {
if (!isDryRun()) if (!isDryRun() and object_[address].isRegistered)
{ {
LOG(Message) << "Destroying object '" << object_[address].name LOG(Message) << "Destroying object '" << object_[address].name
<< "'" << std::endl; << "'" << std::endl;