-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usdShade: Use TfStaticData for shared UsdStageCache
Besides being recommended practice, this avoids a hang on Windows that could occur when the static UsdStageCache member was destroyed during process teardown. The UsdStage objects stored in the cache would try to use TBB in their d'tors after the TBB library had been unloaded and its worker threads destroyed, leading to odd deadlocks. This most recently showed up in testUsdChecker* but also affected imaging tests, which were disabled primarily because of this issue. (Internal change: 2353331)
- Loading branch information
Showing
2 changed files
with
5 additions
and
9 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