fix: v8 cache not generated

fixes #299
This commit is contained in:
linonetwo 2023-02-22 17:13:25 +08:00
parent 0f4e9b5884
commit a5863f8c45
4 changed files with 10 additions and 3 deletions

View file

@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-misused-promises */
import './helpers/installV8Cache';
import { uninstall } from './helpers/installV8Cache';
import 'source-map-support/register';
import 'reflect-metadata';
import './helpers/singleInstance';
@ -194,6 +194,7 @@ app.on(
},
);
app.on('quit', () => {
uninstall?.uninstall();
logger.info('App quit');
});