Ghost/ghost/core
Daniel Lockyer 36fef8976b Fixed allowing multiple shutdown procedures
- 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
2022-08-05 12:43:18 +02:00
..
content 🎨 Updated Casper to v5.2.3 2022-08-03 12:56:44 +01:00
core Fixed allowing multiple shutdown procedures 2022-08-05 12:43:18 +02:00
test Added Ghost Explore integration 2022-08-05 10:06:10 +01:00
.c8rc.json Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.gitignore Updated admin asset serving for ember-auto-import@2 compatibility (#15128) 2022-08-02 13:43:45 +01:00
.npmignore Deleted reference to core/admin 2022-08-03 16:28:41 +02:00
config.development.json Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
ghost.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
Gruntfile.js Fixed linting 2022-08-05 10:01:09 +02:00
index.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
jsconfig.json Deleted reference to core/admin 2022-08-03 16:28:41 +02:00
loggingrc.js Switched to original version for metrics 2022-08-04 19:22:57 +02:00
MigratorConfig.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
package.json Removed Grunt from Admin 2022-08-05 09:53:08 +02:00