1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-12 01:40:53 +01:00
This commit is contained in:
Nayam Amarshe 2023-09-09 19:05:29 +05:30
parent 539ceb5743
commit d5d507b477

View File

@ -282,7 +282,7 @@ ipcMain.on(commands.OPEN_FOLDER, async (event, payload) => {
//------------------------Stop Command-----------------------------// //------------------------Stop Command-----------------------------//
ipcMain.on(commands.STOP, async (event, payload) => { ipcMain.on(commands.STOP, async (event, payload) => {
stopped = true; stopped = true;
mainWindow && mainWindow.setProgressBar(-1);
childProcesses.forEach((child) => { childProcesses.forEach((child) => {
logit("🛑 Stopping Upscaling Process", child.process.pid); logit("🛑 Stopping Upscaling Process", child.process.pid);
child.kill(); child.kill();