update custom callbacks to properly exit thread on disconnect
This commit is contained in:
parent
5d12ff471b
commit
4cce336fb9
@ -144,6 +144,7 @@ waitForFrameThread()
|
|||||||
|
|
||||||
waitForAdditionalAngles( logString, beforeFrameCount, afterFrameCount )
|
waitForAdditionalAngles( logString, beforeFrameCount, afterFrameCount )
|
||||||
{
|
{
|
||||||
|
self endon( "disconnect" );
|
||||||
currentIndex = self.currentAnglePosition;
|
currentIndex = self.currentAnglePosition;
|
||||||
wait( 0.05 * afterFrameCount );
|
wait( 0.05 * afterFrameCount );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user