Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

3 лет назад
1234567891011121314
  1. # capture-exit
  2. [![Build status](https://ci.appveyor.com/api/projects/status/8044m918rwic8b9n/branch/master?svg=true)](https://ci.appveyor.com/project/embercli/capture-exit/branch/master)
  3. [![Build Status](https://travis-ci.org/ember-cli/capture-exit.svg?branch=master)](https://travis-ci.org/ember-cli/capture-exit)
  4. Allow cooprative async exit handlers, we unfortunately must hijack
  5. process.exit.
  6. It allows a handler to ensure exit, without that exit handler impeding other
  7. similar handlers
  8. for example, see: [sindresorhus/ora#27](https://github.com/sindresorhus/ora/issues/27)
  9. Differences between `process.on('exit')` and `captureExit.onExit(...)` => https://github.com/ember-cli/capture-exit/issues/12