Skip to content

Commit 08d949e

Browse files
committed
If def'd out addition of the written object to the ShareObjects to avoid ciricular references in paged databases.
1 parent e026a20 commit 08d949e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vsg/io/write.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,12 @@ bool vsg::write(ref_ptr<Object> object, const Path& filename, ref_ptr<const Opti
5858
fileWritten = rw.write(object, filename, options);
5959
}
6060
}
61-
61+
#if 0
6262
if (fileWritten && options && options->sharedObjects)
6363
{
6464
options->sharedObjects->add(object, filename, options);
6565
}
66+
#endif
6667

6768
return fileWritten;
6869
}

0 commit comments

Comments
 (0)