Static Destructor implementation (using singleton)

Continuing the discussion from Problem with the intallation:

Continuing the discussion from [Cocos3.0 Tutorial] Create your own traditional puzzle from scratch with Cocos2d-x v3: