The closures in ServiceContainer::$serviceInstantiators are circular references which prevent destruction of the object. So, delete these when destroy() is called. Also delete the service instances for good measure. Change-Id: Ic8487cb533a09a8fcc69eba4f5d1bbb71558ae08 |
||
|---|---|---|
| .. | ||
| CannotReplaceActiveServiceException.php | ||
| ContainerDisabledException.php | ||
| DestructibleService.php | ||
| NoSuchServiceException.php | ||
| SalvageableService.php | ||
| ServiceAlreadyDefinedException.php | ||
| ServiceContainer.php | ||
| ServiceDisabledException.php | ||