electron/atom/browser/api
Cheng Zhao 863199348f Make process.exit() quit gracefully
Instead of abrupting the whole program immediately, we should close all
windows and release all native resources gracefully on exit. This avoids
possible crashes.

Fix #3350.
2015-11-06 20:25:20 +08:00
..
lib Make process.exit() quit gracefully 2015-11-06 20:25:20 +08:00
atom_api_app.cc Make process.exit() quit gracefully 2015-11-06 20:25:20 +08:00
atom_api_app.h win: Set app user model ID in one place 2015-11-03 15:09:31 +08:00
atom_api_auto_updater.cc Keep compatibility with old API style 2015-10-23 15:50:55 +08:00
atom_api_auto_updater.h Simplify the auto-updater implementations 2015-10-23 15:40:56 +08:00
atom_api_content_tracing.cc No longer needs to define node_includes.h at last 2015-09-07 16:41:49 +08:00
atom_api_cookies.cc No longer needs to define node_includes.h at last 2015-09-07 16:41:49 +08:00
atom_api_cookies.h Don't reference RequestContextGetter in JS objects 2015-09-09 19:27:28 +08:00
atom_api_dialog.cc Move callback converter from native mate to electron 2015-08-07 19:35:35 +08:00
atom_api_download_item.cc Cleanup wrapper function when app has done quitting 2015-11-04 16:54:36 +08:00
atom_api_download_item.h Some cleanup. 2015-09-24 19:31:09 +08:00
atom_api_global_shortcut.cc Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_global_shortcut.h Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_menu.cc Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_menu.h Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_menu_mac.h Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_menu_mac.mm Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_menu_views.cc Remove NativeWindow::GetWebContents 2015-06-25 14:54:00 +08:00
atom_api_menu_views.h OVERRIDE macro is now removed 2015-01-27 13:18:30 -08:00
atom_api_power_monitor.cc Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_power_monitor.h Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_power_save_blocker.cc Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_power_save_blocker.h Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_protocol.cc browser: handle flash context menu 2015-11-01 01:13:17 +05:30
atom_api_protocol.h Don't reference RequestContextGetter in JS objects 2015-09-09 19:27:28 +08:00
atom_api_screen.cc Don't use Node's internal APIs 2015-09-07 16:41:49 +08:00
atom_api_screen.h Use Local instead of Handle 2015-05-22 19:11:22 +08:00
atom_api_session.cc Cleanup wrapper function when app has done quitting 2015-11-04 16:54:36 +08:00
atom_api_session.h session: allow setproxy to use external pac script 2015-10-22 23:03:47 +05:30
atom_api_tray.cc No longer needs to define node_includes.h at last 2015-09-07 16:41:49 +08:00
atom_api_tray.h Make sure all native resources get freed on exit 2015-11-04 18:21:03 +08:00
atom_api_web_contents.cc Cleanup wrapper function when app has done quitting 2015-11-04 16:54:36 +08:00
atom_api_web_contents.h Translate menu template directly in C++ 2015-11-02 23:31:44 +08:00
atom_api_web_view_manager.cc No need to define WebContentsPreferences::From 2015-09-07 16:16:34 +08:00
atom_api_window.cc Small code cleanup 2015-10-29 10:55:08 +08:00
atom_api_window.h Small code cleanup 2015-10-29 10:55:08 +08:00
event.cc Remove All Rights Reserved after GitHub copyright 2014-10-31 11:17:05 -07:00
event.h OVERRIDE macro is now removed 2015-01-27 13:18:30 -08:00
event_emitter.cc Tell compiler we want to ignore result of SetPrototype 2015-08-11 10:10:07 +08:00
event_emitter.h Fix leak of handle when emitting events 2015-08-27 15:22:02 +08:00
frame_subscriber.cc Move BeginFrameSubscription to WebContents 2015-09-18 15:57:43 +08:00
frame_subscriber.h Move BeginFrameSubscription to WebContents 2015-09-18 15:57:43 +08:00
save_page_handler.cc Fix: savePage API saves external resources in a wrong directory. 2015-10-18 11:28:05 +08:00
save_page_handler.h Implement webContents.savePage API. 2015-10-16 09:23:08 +08:00
trackable_object.cc Make sure BrowserContext is destroyed on exit 2015-09-06 10:54:34 +08:00
trackable_object.h Make sure BrowserContext is destroyed on exit 2015-09-06 10:54:34 +08:00