microsoft / pxt-ev3

Microsoft MakeCode editor for the LEGO MINDSTORMS EV3 Brick
https://makecode.mindstorms.com/
Other
55 stars 39 forks source link

lock execution thread before exiting #935

Closed pelikhan closed 5 years ago

pelikhan commented 5 years ago

We have a race with the esc button where the program starts the motors while we are exiting .

THEb0nny commented 3 years ago

@mmoskal @pelikhan Is this due to blocking motors? Is this change in beta? I can't seem to see, there are only 399 lines of code available through the linux.cpp editor.