also stop turtle main loop on exit
This commit is contained in:
parent
762f72c160
commit
3e09bcfad2
@ -154,7 +154,7 @@ class KernelEvents {
|
||||
private static function turtleLoop() {
|
||||
startTurtleCoroutine();
|
||||
|
||||
while (true) {
|
||||
while (!stopLoop) {
|
||||
var eventData = pullEvents();
|
||||
|
||||
if (eventData[1] == "turtle_response" || eventData[1] == "tthread") {
|
||||
|
Loading…
Reference in New Issue
Block a user