0031075: Application Framework - reading STEP file into TDocStd_Document leads to...
[occt.git] / src / Standard / Standard_Type.cxx
index 9516915..b18c8b0 100644 (file)
@@ -98,6 +98,9 @@ namespace {
     static registry_type theRegistry;
     return theRegistry;
   }
+
+  // To initialize theRegistry map as soon as possible to be destoryed the latest
+  Handle(Standard_Type) theType = STANDARD_TYPE(Standard_Transient);
 }
 
 Standard_Type* Standard_Type::Register (const char* theSystemName, const char* theName,