pithread, pitimer stop, stopAndWait

This commit is contained in:
Бычков Андрей
2022-11-09 17:17:21 +03:00
parent f9c1ef5ba4
commit d9eac06749
8 changed files with 25 additions and 20 deletions

View File

@@ -588,7 +588,7 @@ void PIScreen::waitForFinish() {
void PIScreen::stop(bool clear) {
PIThread::stop(true);
PIThread::stopAndWait();
if (clear) console.clearScreen();
#ifndef WINDOWS
fflush(0);