mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Forgot about locks
This commit is contained in:
@@ -195,7 +195,11 @@ namespace SabreTools.Helper.Dats
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
newitems.Add(item);
|
// Lock the list and add the item back
|
||||||
|
lock (newitems)
|
||||||
|
{
|
||||||
|
newitems.Add(item);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user