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
This commit is contained in:
Samuel Attard 2019-04-30 15:44:40 -07:00 committed by GitHub
parent 4e5a0946c7
commit 67b3fbca89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 55 additions and 2 deletions

3
spec/fixtures/module/delay-exit.js vendored Normal file
View file

@ -0,0 +1,3 @@
const { app } = require('electron')
process.on('message', () => app.quit())