I have tried many ways, the "exec" variable is bool, I have tried with int, I have tried the "IsEnabled" and I have not had results, "ListenerUpdate ()" still works even when the "if # 1" is true. Why does this happen? Why does it enter the "if # 1" conditional even when it works and the strategy is disabled?
Another problem is that when I re-enable the strategy, it now works double, if I disable and enable the strategy 5 times, I will have 5 processes in parallel, with 5 queries. Ninja does not kill the above process, "ListenerUpdate ()" runs in parallel the number of times you disable and enable the strategy. Why does that happen?
Comment