Gabriel.
You are correct.
The new method not return anything.
Eliminating the line return myInstance and creating one function for get myInstance is possible.
You create a instance initially and it is not recolected for GC. It contains one reference of self.
Bye,
paposo
You are correct.
The new method not return anything.
Eliminating the line return myInstance and creating one function for get myInstance is possible.
You create a instance initially and it is not recolected for GC. It contains one reference of self.
Bye,
paposo