Skip to content

feat: switch to using beforeExit - #4

Closed
bcoe wants to merge 1 commit into
masterfrom
before-exit
Closed

bcoe wants to merge 1 commit into
masterfrom
before-exit

Conversation

@bcoe

@bcoe bcoe commented Oct 29, 2017

Copy link
Copy Markdown
Owner

switched to using beforeExit on @TimothyGu's advice.

This works like a charm for the program's normal exit behavior and an exit do to a throw.

beforeExit does not seem to fire when I run process.exit()? try:

./bin/c8.js node ./test/fixtures/c.js

@bcoe bcoe closed this Nov 27, 2017
@profnandaa
profnandaa deleted the before-exit branch October 12, 2018 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant