Singleton: Difference between revisions
Content deleted Content added
Line 639: | Line 639: | ||
{ |
{ |
||
if (myInstance == null) |
if (myInstance == null) |
||
{ |
|||
myInstance = new Singleton(); |
myInstance = new Singleton(); |
||
} |
|||
return myInstance; |
return myInstance; |