Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 265 Bytes

File metadata and controls

3 lines (3 loc) · 265 Bytes

ThreadLab

lab for breaking LazySingleton I noticed that the Lazy Initialized Singleton was very sensitive to errors. with just one line of code you could create an error where your singleton was no longer single. The enum Singleton did not have the same issue.