fixing release fiber

This commit is contained in:
Peli de Halleux 2018-01-29 13:26:31 -08:00
parent 34578d2370
commit 21deb45728

View File

@ -272,7 +272,8 @@ void setupThread(Action a, TValue arg = 0, void (*runner)(Thread *) = NULL, TVal
}
void releaseFiber() {
// called from main in pxt.cpp
stopUser();
pthread_exit(NULL);
}
void runInParallel(Action a) {