electron/atom/common/api
Cheng Zhao 06cf0406fe Dereference remote objects with native code
Previously we rely on the v8util.setDestructor to dereference the remote
objects in JavaScript, however as documented in V8, it is forbidden to
call V8 APIs in object's destructor (e.g. the weak callback), and doing
so would result in crashs.

This commit removes the JavaScript setDestructor method, and avoids
doing the dereference work with V8.
2016-04-26 16:16:22 +09:00
..
api_messages.h Change webview's zoom level on JavaScript side 2016-01-13 12:50:02 +08:00
atom_api_asar.cc Make Wrappable a template class 2016-04-25 10:17:54 +09:00
atom_api_clipboard.cc int32 => int32_t 2016-03-10 17:06:21 +09:00
atom_api_crash_reporter.cc Simplify and polish the code. 2015-06-04 15:53:37 +08:00
atom_api_id_weak_map.cc Make Wrappable a template class 2016-04-25 10:17:54 +09:00
atom_api_id_weak_map.h Make Wrappable a template class 2016-04-25 10:17:54 +09:00
atom_api_native_image.cc Make Wrappable a template class 2016-04-25 10:17:54 +09:00
atom_api_native_image.h Make Wrappable a template class 2016-04-25 10:17:54 +09:00
atom_api_native_image_mac.mm Minor style fix for #2352 2015-07-29 11:48:40 +08:00
atom_api_shell.cc Handle argument parsing in C++ 2016-02-17 09:05:21 -08:00
atom_api_v8_util.cc Dereference remote objects with native code 2016-04-26 16:16:22 +09:00
atom_bindings.cc Upgrade Node to v5.10.0 2016-04-03 15:05:47 +09:00
atom_bindings.h Fix compilation errors on OS X 2016-03-10 17:06:21 +09:00
event_emitter_caller.cc Update to API changes of Chrome 47 2015-12-07 19:56:23 +08:00
event_emitter_caller.h Use WebScopedRunV8Script in converted C++ functions 2015-08-07 19:37:17 +08:00
locker.cc Use WebScopedRunV8Script in converted C++ functions 2015-08-07 19:37:17 +08:00
locker.h Use WebScopedRunV8Script in converted C++ functions 2015-08-07 19:37:17 +08:00
object_life_monitor.cc Dereference remote objects with native code 2016-04-26 16:16:22 +09:00
object_life_monitor.h Dereference remote objects with native code 2016-04-26 16:16:22 +09:00
remote_callback_freer.cc Dereference remote objects with native code 2016-04-26 16:16:22 +09:00
remote_callback_freer.h Dereference remote objects with native code 2016-04-26 16:16:22 +09:00
remote_object_freer.cc Dereference remote objects with native code 2016-04-26 16:16:22 +09:00
remote_object_freer.h Dereference remote objects with native code 2016-04-26 16:16:22 +09:00