change for bionic only to zero out if set
This commit is contained in:
1 parent
4b4a941c17
commit
7e97062381
1 file changed
+6
@@ -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