1 parent 830b97d commit 019c1e5Copy full SHA for 019c1e5
1 file changed
scripts/DllManipulator.cs
@@ -706,7 +706,7 @@ public class DllManipulatorOptions
706
public DllManipulatorOptions CloneTo(DllManipulatorOptions other)
707
{
708
other.dllPathPattern = dllPathPattern;
709
- other.assemblyNames = (string[]) assemblyNames.Clone();
+ other.assemblyNames = assemblyNames.Select(item => (string)item.Clone()).ToList();
710
other.loadingMode = loadingMode;
711
other.posixDlopenFlags = posixDlopenFlags;
712
other.threadSafe = threadSafe;
0 commit comments