mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 22:06:17 +00:00
fix: closed game pestis in the watch processes
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user