Page 1 of 1

Re: Problem calling getapi(). RemoveRoom (room) manually

Posted: 27 Jul 2021, 07:55
by Lapo
Hi,
it seems like you're cancelling your scheduled Task before the it has finished to run.

Please double check your code and if you're calling Task.cancel(true); make sure to remove the boolean in parentheses. The problem with that is that you're stopping the thread while it is still working.

Cheers