title: MyOpenGLView dealloc not call
body: <p>i downloaded example from
  <a href="http://developer.apple.com/mac/library/samplecode/GLFullScreen/Listings/MyOpenGLView_h.html" rel="nofollow noreferrer">http://developer.apple.com/mac/library/samplecode/GLFullScreen/Listings/MyOpenGLView_h.html</a></p>
  
  <p>in files MyOpenGLView.m and MainController.m is method
  - (void) dealloc</p>
  
  <p>but when program terminated newer call this method.</p>
  
  <p>I put there my code when program terminated but it isn't executed.
  How to make that method dealloc will called, or how to make other method that will call when program terminated?</p>
  
  <p>Thanks in advance
  Chudziutki</p>