title: @PreDestroy never called on @ViewScoped
body: <p>I have a <code>@ViewScoped</code> bean that has a method with an <code>@PreDestroy</code> annotation that should make sure some remote connections are closed. However, the method is not called when the user navigates away.</p>
  
  <p>Is there anything one can do wrong? Do I have to register anything anywhere in order to make it work?</p>
  
  <p>It's a simple public method (<code>void</code>) that throws no exception.</p>
  
  <p>I'm using JSF 2 (MyFaces) with Tomcat 7.0.12. Could it be a problem with Tomcat?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>The <code>@PostConstruct</code> annotation works fine.</p>