title: Are local static variables released on dealloc in Objective-C / ARC?
body: <p>I have a factory which handles singletons as follows</p>
  
  <pre><code>@implementation MyFactory
  
  - (AudioEngine *)theAudioEngine 
  {
      static AudioEngine *ae = nil;
      if (ae == nil) {
          ae = [[AudioEngine] alloc] init];
      }
      return ae;
  }
  
  @end
  </code></pre>
  
  <p>Are such static local variables released when the MyFactory instance is dealloc'ed?</p>