Disposes of an alert panel.


void NSReleaseAlertPanel(id panel);


When you’re finished with a panel created by a function such as NSGetAlertPanel, NSGetCriticalAlertPanel, or NSGetInformationalAlertPanel, you must dispose of it by passing it to this function.

Note that the alert panel may not be deallocated immediately because it may have internal references that are disposed of in a deferred way. You should not make the assumption that the alert panel is immediately removed from the application window list.