Skip to content

Commit 34a1d8b

Browse files
Merge pull request #1053 from glebm/fix-crash-on-exit-3
Ensure global Mutex is initialized before Registry
2 parents e77f503 + da7a6ca commit 34a1d8b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/osgDB/Registry

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ namespace osgDB {
5050
The RegisterReaderWriterProxy can be used to automatically
5151
register at runtime a reader/writer with the Registry.
5252
*/
53-
class OSGDB_EXPORT Registry : public osg::Referenced
53+
class OSGDB_EXPORT Registry : osg::depends_on<OpenThreads::Mutex*, osg::Referenced::getGlobalReferencedMutex>,
54+
public osg::Referenced
5455
{
5556
public:
5657

0 commit comments

Comments
 (0)