Skip to content
Snippets Groups Projects
Commit 362b2136 authored by Philipp Müller's avatar Philipp Müller
Browse files

don't delete this again pls, i beg

parent f3a27713
No related branches found
No related tags found
1 merge request!49memory leak fix (don't delete this again pls, i beg)
......@@ -81,12 +81,12 @@ namespace InnoLabProjektDektopApp.Services
{
// this wait is here to prevent another event from being triggered before the previous one is handled
var task = Task.Run(() => watcher.WaitForNextEvent());/*
var task = Task.Run(() => watcher.WaitForNextEvent());
if (Task.WaitAny(task, Task.Delay(100)) == 0)
{
if (!isMonitoring) break;
Task.Run(() => HandleNewProcess(task.Result));
}*/
}
}
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment