mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-12 01:40:53 +01:00
Fix #416
This commit is contained in:
parent
539ceb5743
commit
d5d507b477
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user