mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
change for bionic only to zero out if set
This commit is contained in:
parent
4b4a941c17
commit
7e97062381
1 changed files with 6 additions and 0 deletions
|
@ -671,7 +671,13 @@ void CloseProxmark(void) {
|
|||
|
||||
// Clean up our state
|
||||
sp = NULL;
|
||||
#ifdef __BIONIC__
|
||||
if (communication_thread != 0) {
|
||||
memset(&communication_thread, 0, sizeof(pthread_t));
|
||||
}
|
||||
#else
|
||||
memset(&communication_thread, 0, sizeof(pthread_t));
|
||||
#endif
|
||||
|
||||
session.pm3_present = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue