Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
NullReference exception in TreeCache #371
In some cases (under a heavy load, when workspaces are created in parallel and the settings cache gets invalidated many times) a nullreference exception is thrown in the TreeCache class (link-to-line), when accessing the singleton Instance.
The internal variable may become null because the invalidation in the InvalidatePrivate method happens outside of a lock block.