diff options
| author | Sam Wilkins <samwilkins333@gmail.com> | 2019-12-08 15:24:05 -0500 |
|---|---|---|
| committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-12-08 15:24:05 -0500 |
| commit | 297c5e428d8702ac7a192c023e081fe556bb5fce (patch) | |
| tree | f89496d82df10a1dbe31656f5fbe80a29a0a5f0e /src/server/ActionUtilities.ts | |
| parent | c06a5948341986e034c8fde10ae692f2774207f4 (diff) | |
solr interactions hopefully more stable, untested but safe shutdown route
Diffstat (limited to 'src/server/ActionUtilities.ts')
| -rw-r--r-- | src/server/ActionUtilities.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/server/ActionUtilities.ts b/src/server/ActionUtilities.ts index 1ebeab203..94008e171 100644 --- a/src/server/ActionUtilities.ts +++ b/src/server/ActionUtilities.ts @@ -73,7 +73,3 @@ export async function Prune(rootDirectory: string): Promise<boolean> { } export const Destroy = (mediaPath: string) => new Promise<boolean>(resolve => fs.unlink(mediaPath, error => resolve(error === null))); - -export function addBeforeExitHandler(handler: NodeJS.BeforeExitListener) { - // process.on("beforeExit", handler); -} |
