fixed mascared bug file descriptor bad partial solution

This commit is contained in:
mh4x0f 2020-04-03 20:14:15 -03:00
parent aefe0b4112
commit d40d35c7ce
2 changed files with 5 additions and 1 deletions

View File

@ -75,6 +75,7 @@ All notable changes to this project will be documented in this file.
- Removed all files *.py compiler. [mh4x0f]
### Fixed
- fixed Bad file descriptor with socket SO_REUSEADDR activate [mh4x0f]
- Fixed session id not empty when start app. [mh4x0f]
- Fixed wirelessmode docker remount ap without errors. [mh4x0f]
- Fixed name file configuration. [mh4x0f]

View File

@ -164,4 +164,7 @@ class DHCPThread(QThread):
self.started = False
Refactor.writeFileDataToJson(C.CLIENTS_CONNECTED, {}, 'w')
print('Thread::[{}] successfully stopped.'.format(self.objectName()))
self.sock.close()
#TODO: bug: Bad file descriptor with socket SO_REUSEADDR activate
# OSError: [Errno 9] Bad file descriptor when close socket
# the tempp solution is not close socket in time excutation
#self.sock.close()