mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Previously CefShutdown() was called after closing the windows which would prevent them from running their beforeunload callbacks and saving state properly when cmd-Q the application. Now the number of open browsers is tracked and the message loop is quit and the windows are autoreleased only after the browser is ready to be closed. Closes #493
8.4 KiB
8.4 KiB