android (maybe some other *nix) fix
This commit is contained in:
@@ -945,8 +945,8 @@ void PIThread::_endThread() {
|
|||||||
#elif defined(FREERTOS)
|
#elif defined(FREERTOS)
|
||||||
PRIVATE->thread = 0;
|
PRIVATE->thread = 0;
|
||||||
#else
|
#else
|
||||||
// pthread_detach(PRIVATE->thread);
|
|
||||||
PRIVATE->thread = 0;
|
PRIVATE->thread = 0;
|
||||||
|
ec.callAndCancel();
|
||||||
pthread_exit(0);
|
pthread_exit(0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user