mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 13:07:02 +00:00
Previously, when closing a platform window using the browser close button, the represented `CPWindow` was not correctly closed. This patch ensure `-(void)close` is called correctly by using the DOM `unload` event. Also, delegate method `- (void)windowWillClose:` is correctly called.