Commit 39b4ab3
committed
BUG: Internal factory must use RegisterFactoryInternal method
If just RegisterFactory is called to register an internal factory,
this will cause the dynamic libraries to be loaded during static
initialization. This is undesired behavior and may cause a race
condition of shared libraries loading other shared libraries.
Additionally, applications have been setting ITK_AUTOLOAD path during
executing, before any object were created or other objects
registered. This patch restores the behavior of the dynamic libraries
being loaded with this usage.
Change-Id: I88433ba6e0bcc1885c5e11a54307d0e6c481f85e1 parent fb306df commit 39b4ab3
4 files changed
Lines changed: 4 additions & 4 deletions
File tree
- Modules
- IO
- TransformHDF5/include
- TransformInsightLegacy/include
- TransformMatlab/include
- Nonunit/Review/include
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments