mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
change for bionic only to zero out if set
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user