tangled
alpha
login
or
join now
graham.systems
/
statusphere-react
forked from
samuel.fm/statusphere-react
the statusphere demo reworked into a vite/react app in a monorepo
0
fork
atom
overview
issues
pulls
pipelines
remove process.exit
samuel.fm
10 months ago
44d55201
d41e1013
options
unified
split
Changed files
-1
packages
appview
src
index.ts
-1
packages/appview/src/index.ts
···
135
135
const onCloseSignal = async () => {
136
136
setTimeout(() => process.exit(1), 10000).unref() // Force shutdown after 10s
137
137
await server.close()
138
138
-
process.exit(0)
139
138
}
140
139
141
140
process.on('SIGINT', onCloseSignal)