mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
fix: error with trying to handle SIGKILL (#14208)
This commit is contained in:
parent
4b9c60ad21
commit
d47fd4ffe1
@ -95,7 +95,6 @@ async function watchSrc() {
|
|||||||
process.on('SIGHUP', resolve);
|
process.on('SIGHUP', resolve);
|
||||||
process.on('SIGINT', resolve);
|
process.on('SIGINT', resolve);
|
||||||
process.on('SIGTERM', resolve);
|
process.on('SIGTERM', resolve);
|
||||||
process.on('SIGKILL', resolve);
|
|
||||||
process.on('uncaughtException', reject);
|
process.on('uncaughtException', reject);
|
||||||
process.on('exit', resolve);
|
process.on('exit', resolve);
|
||||||
}).finally(async () => {
|
}).finally(async () => {
|
||||||
|
@ -95,7 +95,6 @@ async function watchSrc() {
|
|||||||
process.on('SIGHUP', resolve);
|
process.on('SIGHUP', resolve);
|
||||||
process.on('SIGINT', resolve);
|
process.on('SIGINT', resolve);
|
||||||
process.on('SIGTERM', resolve);
|
process.on('SIGTERM', resolve);
|
||||||
process.on('SIGKILL', resolve);
|
|
||||||
process.on('uncaughtException', reject);
|
process.on('uncaughtException', reject);
|
||||||
process.on('exit', resolve);
|
process.on('exit', resolve);
|
||||||
}).finally(async () => {
|
}).finally(async () => {
|
||||||
|
@ -95,7 +95,6 @@ async function watchSrc() {
|
|||||||
process.on('SIGHUP', resolve);
|
process.on('SIGHUP', resolve);
|
||||||
process.on('SIGINT', resolve);
|
process.on('SIGINT', resolve);
|
||||||
process.on('SIGTERM', resolve);
|
process.on('SIGTERM', resolve);
|
||||||
process.on('SIGKILL', resolve);
|
|
||||||
process.on('uncaughtException', reject);
|
process.on('uncaughtException', reject);
|
||||||
process.on('exit', resolve);
|
process.on('exit', resolve);
|
||||||
}).finally(async () => {
|
}).finally(async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user