Simultaneous cloning easily results in deadlock, at least on Windows and Linux.
Appears to be due to workspace vs. preference locks obtained in different orders by IProject.copy and Preferences.flush, which makes any use of flush dangerous.
Might be resolved with additional locking or with IWorkspace.run.
Simultaneous cloning easily results in deadlock, at least on Windows and Linux.
Appears to be due to workspace vs. preference locks obtained in different orders by
IProject.copy
andPreferences.flush
, which makes any use offlush
dangerous.Might be resolved with additional locking or with
IWorkspace.run
.