Agreed. It looks like the “fix” would require explicitly passing ‘self’ to the taskMgr.add() method, though, because the callback function is no longer a bound method (i.e. it’s lost its “I’m a member of this class” attribution) when it’s invoked.
Agreed. It looks like the “fix” would require explicitly passing ‘self’ to the taskMgr.add() method, though, because the callback function is no longer a bound method (i.e. it’s lost its “I’m a member of this class” attribution) when it’s invoked.