[Solved]'unschedule' not stop 'schedule' while build schedule JS binding?

I’m using ‘schedule’ for my game.

But, ‘unschedule’ isn’t working at android by using JS bindings.

Same code was working at web.

Is this JS binding’s bug?

scheduleStart:function() { this.scheduleCount = 0; this.schedule(this.timeTest, 0.1); },

timeTest:function()
{
this.scheduleCount++;
if(this.scheduleCount == 20)
{
this.unschedule(this.timeTest, 1); => schedule is not stopped.
}
}

It looks like there is a bug, but the bug is that it doesn’t tell you when you give unschedule the wrong number of arguments.

To fix your problem, change
this.unschedule(this.timeTest, 1);
to
this.unschedule(this.timeTest);

Oh! Thanks!!!

I had a mistake in my code.

It did not check in web. I did not know it.