Page 2 of 2

Re: Remote API calls getting slower and slower

Posted: 09 Sep 2020, 11:54
by coppelia
There is no predefined simulation steps that will pass, before the simulation has really ended. This is because CoppeliaSim will go through 3 states for that:

simulating --> about to stop --> last before stop --> stopped

CoppeliaSim will wait in the about to stop state, to leave threaded child scripts a chance to end by themselves. If they don't end by themselves, CoppeliaSim will force them to end after about 2 seconds. The state last before stop will last only one simulation step.

Cheers