mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
36fef8976b
- Ghost doesn't prevent itself from running the `shutdown` procedure more than once - if you spam Ctrl-C, you can reproduce this - this might not be the case when running using `yarn dev` because some Grunt code captures the SIGINT/SIGTERM, but that is changing very soon - whilst not necessary a problem now, we might introduce code that runs during a shutdown but only expects to happen once - this commit introduces a flag to say that Ghost is shutting down, and prevents the `shutdown` function from executing further once true |
||
---|---|---|
.. | ||
content | ||
core | ||
test | ||
.c8rc.json | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.npmignore | ||
config.development.json | ||
ghost.js | ||
Gruntfile.js | ||
index.js | ||
jsconfig.json | ||
loggingrc.js | ||
MigratorConfig.js | ||
package.json |