mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
deep copy to avoid unintended data contamination
This commit is contained in:
parent
f23646e480
commit
bff39c71dc
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ namespace PersistentWindows.Common
|
|||
{
|
||||
if (dump_dead_window)
|
||||
{
|
||||
var allApps = monitorApplications;
|
||||
var allApps = new Dictionary<string, Dictionary<IntPtr, List<ApplicationDisplayMetrics>>>(monitorApplications); //in-memory database of live windows
|
||||
foreach (var display_key in deadApps.Keys)
|
||||
{
|
||||
if (!monitorApplications.ContainsKey(display_key))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue