forked from InsightSoftwareConsortium/ITK
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: I88433ba6e0bcc1885c5e11a54307d0e6c481f85e
- Loading branch information
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters