Vadim Macagon 7c5d3296e7 Prevent undefined behavior when some Node Buffer objects are destroyed
If node::Buffer::New() is used to wrap an existing chunk of memory
without providing a custom callback to release that memory then Node
will just use `free()`. In a couple of places Node buffer objects were
constructed from chunks of memory that were allocated with `new[]`, but
a custom callback to release that memory was omitted, this resulted in
undefined behavior when those buffers were destroyed because `free()`
was used to release memory allocated with `new[]`.

To avoid undefined behavior the aforementioned buffer objects are now
constructed with a custom callback that safely releases the underlying
chunk of memory.
2016-10-03 10:26:26 +07:00
2016-09-06 11:58:06 -07:00
2016-09-29 09:16:35 -07:00
2016-08-10 08:54:50 -07:00
2016-05-13 11:11:50 +09:00
2016-07-21 01:17:07 -06:00
2016-05-13 11:12:15 +09:00
2016-09-14 16:23:00 +09:00
2016-09-06 14:58:50 -07:00
2016-09-30 17:39:27 +08:00
2014-05-04 20:29:08 +08:00
2016-09-30 17:39:27 +08:00
2016-09-06 14:58:50 -07:00

Electron Logo

Travis Build Status AppVeyor Build Status devDependency Status Join the Electron Community on Slack

📝 Available Translations: Korean | Simplified Chinese

The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on Node.js and Chromium and is used by the Atom editor and many other apps.

Follow @ElectronJS on Twitter for important announcements.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to electron@github.com.

Downloads

Prebuilt binaries and debug symbols of Electron for Linux, Windows and macOS can be found on the releases page.

You can also use npm to install prebuilt electron binaries:

# Install the `electron` command globally in your $PATH
npm install electron -g

# Install as a development dependency
npm install electron --save-dev

Mirrors

Documentation

Guides and the API reference are located in the docs directory. It also contains documents describing how to build and contribute to Electron.

Documentation Translations

Quick Start

Clone and run the electron/electron-quick-start repository to see a minimal Electron app in action.

Community

You can ask questions and interact with the community in the following locations:

Check out awesome-electron for a community maintained list of useful example apps, tools and resources.

Description
No description provided
Readme MIT 367 MiB
Languages
C++ 55.9%
TypeScript 33.4%
Objective-C++ 5.5%
JavaScript 2.4%
Python 1.7%
Other 1%