Performs destruct operations.
Overrides DestructableInterface::destruct
public function destruct() {
// @see \Drupal\locale\Locale\Lookup::__destruct().
// @todo Remove once http://drupal.org/node/1786490 is in.
foreach ($this->translations as $context) {
foreach ($context as $lookup) {
if ($lookup instanceof DestructableInterface) {
$lookup
->destruct();
}
}
}
}