mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 05:24:55 +03:00
fix: closed game pestis in the watch processes
This commit is contained in:
parent
e2d16ba63e
commit
bc98f7c55e
@ -164,11 +164,7 @@ export const watchProcesses = async () => {
|
||||
)
|
||||
.toLowerCase();
|
||||
|
||||
const processSet = processMap.get(executable);
|
||||
|
||||
if (!processSet) continue;
|
||||
|
||||
const hasProcess = processSet.has(executablePath);
|
||||
const hasProcess = processMap.get(executable)?.has(executablePath);
|
||||
|
||||
if (hasProcess) {
|
||||
if (gamesPlaytime.has(game.id)) {
|
||||
|
Loading…
Reference in New Issue
Block a user