When I try to remove some event listeners in case something didn’t run (checking it with didRun3, a value I set to true when my something doesn’t run)
else if didRun3 == false then removeEventListener3() print("removed event listener for dot 3")
and when I check it with this didRun3 == false, what I get is:
Corona Runtime Error ...ts(builds)\dots(default)\dots\main.lua:189: attempt to call upvalue 'removeEventListener3' (a nil value)
But, it’s not a nil value. What does this mean?
EDIT: The title should be
What does "attempt to call upvalue ‘removeEventListener3’ (a nil value) " mean?