public void Destroy() { contextLifecycle.BeforeDestroy(); container.Destroy(); contextLifecycle.Destroyed(); }