When is the initialize method executed when using a singleton class?

前端 未结 0 1787
有刺的猬
有刺的猬 2021-01-13 05:08

Currently have class set as a singleton class. My assumption is that this will only initialized once but it seems to be initializing every time I call the instance.



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题