electron/spec/fixtures/module/delay-exit.js
Samuel Attard 67b3fbca89
fix: ensure the inspector agent is shutdown before cleaning up the node env (#18028)
* fix: ensure the inspector agent is shutdown before cleaning up the node env

* spec: add tests to ensure clean shutdown with connected inspector agent

* Update node_debugger.cc
2019-04-30 15:44:40 -07:00

3 lines
77 B
JavaScript

const { app } = require('electron')
process.on('message', () => app.quit())