ParentFull threadundreren·Discipline. The same way you do in Java and C#. Don't use singletons and global variables.View on HN