@rip-lang/server 1.3.27 → 1.3.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/server.rip +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/server",
3
- "version": "1.3.27",
3
+ "version": "1.3.28",
4
4
  "description": "Pure Rip web framework and application server",
5
5
  "type": "module",
6
6
  "main": "api.rip",
@@ -45,7 +45,7 @@
45
45
  "author": "Steve Shreeve <steve.shreeve@gmail.com>",
46
46
  "license": "MIT",
47
47
  "dependencies": {
48
- "rip-lang": ">=3.13.43"
48
+ "rip-lang": ">=3.13.44"
49
49
  },
50
50
  "files": [
51
51
  "api.rip",
package/server.rip CHANGED
@@ -722,7 +722,6 @@ class Manager
722
722
  return if @shuttingDown
723
723
  @shuttingDown = true
724
724
  @stop!
725
- try fetch!(@dbUrl + '/shutdown', { method: 'POST' }) if @dbUrl catch then null
726
725
  process.exit(0)
727
726
 
728
727
  getEntryMtime: ->
@@ -1285,6 +1284,7 @@ main = ->
1285
1284
  try unlinkSync(pidFile) catch then null
1286
1285
  svr.stop()
1287
1286
  mgr.stop!
1287
+ try fetch!(mgr.dbUrl + '/shutdown', { method: 'POST' }) if mgr.dbUrl catch then null
1288
1288
  process.exit(0)
1289
1289
 
1290
1290
  process.on 'SIGTERM', cleanup