It seems extremely likely that the code posted is what caused the taint. The interesting thing here, though, is that I can run it without error unless I load the other addon. Functionality is restored completely when I remove my code.
I agree with you though, I need to learn more about the taint system. It's really wonky to me.
|