Time: Removed unnecessary fileHandler code from destructor

This commit is contained in:
Henry Weller
2020-08-20 17:48:51 +01:00
parent 9b79c352f2
commit aa5a2dccfe

View File

@ -582,11 +582,6 @@ Foam::Time::Time
Foam::Time::~Time()
{
forAllReverse(controlDict_.watchIndices(), i)
{
fileHandler().removeWatch(controlDict_.watchIndices()[i]);
}
// Destroy function objects first
functionObjects_.clear();
}