+ (void)load
{
/* init our fake object attribute */
- if( !blackoutWindows )
- blackoutWindows = [NSMutableArray arrayWithCapacity:1];
+ blackoutWindows = [[NSMutableArray alloc] initWithCapacity:1];
}
- (void)dealloc
{
- [blackoutWindows makeObjectsPerformSelector:@selector(close)];
[blackoutWindows removeAllObjects];
+ [blackoutWindows release];
[super dealloc];
}