mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-15 01:33:00 -07:00
Add another #ifdef for the __BIONIC__ fix (the effect of setting p_thread to 0 is undefined for other libs)
This commit is contained in:
parent
a025b74606
commit
eed83b910c
1 changed files with 2 additions and 0 deletions
|
@ -364,7 +364,9 @@ void CloseProxmark(void) {
|
|||
// Clean up our state
|
||||
sp = NULL;
|
||||
serial_port_name = NULL;
|
||||
#ifdef __BIONIC__
|
||||
memset(&USB_communication_thread, 0, sizeof(pthread_t));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue