You are here

public function Rule::destroy in Rules 7.2

Removes circular object references so PHP garbage collector can work.

Overrides RulesContainerPlugin::destroy

File

includes/rules.plugins.inc, line 274
Contains plugin info and implementations not needed for rule evaluation.

Class

Rule
An actual rule.

Code

public function destroy() {
  $this->conditions
    ->destroy();
  parent::destroy();
}