Singletons can be great. But it’s important to make sure that the Singleton really is a Singleton, even in a Multi-Threading Environment.
There are multiple possibilities to achieve this and here are my Favorites: Continue reading Thread Safe Singleton Pattern