* ./hurricane/src/hurricane:
- Bug: In Instance::_postCreate, do not disable Go auto materialization if the instance is placed.
This commit is contained in:
parent
132ec33599
commit
adaae1af9b
|
@ -61,7 +61,9 @@ void Go::_postCreate()
|
|||
{
|
||||
Inherit::_postCreate();
|
||||
|
||||
if (!autoMaterializationIsDisabled()) materialize(); // materialized after entire post creation
|
||||
if (not autoMaterializationIsDisabled()) {
|
||||
materialize();
|
||||
} // materialized after entire post creation
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -378,9 +378,9 @@ void Instance::setPlacementStatus(const PlacementStatus& placementstatus)
|
|||
if (placementstatus != _placementStatus) {
|
||||
invalidate(true);
|
||||
|
||||
if (_placementStatus == PlacementStatus::UNPLACED)
|
||||
if (_placementStatus == PlacementStatus::UNPLACED) {
|
||||
materialize ();
|
||||
else if ( placementstatus == PlacementStatus::UNPLACED )
|
||||
} else if (placementstatus == PlacementStatus::UNPLACED)
|
||||
unmaterialize ();
|
||||
|
||||
_placementStatus = placementstatus;
|
||||
|
@ -457,7 +457,8 @@ void Instance::_postCreate()
|
|||
}
|
||||
|
||||
bool autoMaterialization = not autoMaterializationIsDisabled();
|
||||
disableAutoMaterialization();
|
||||
if ( _placementStatus == PlacementStatus::UNPLACED )
|
||||
disableAutoMaterialization();
|
||||
|
||||
Inherit::_postCreate();
|
||||
|
||||
|
|
Loading…
Reference in New Issue