(self)
| 19 | BMConnectionPool().loop() |
| 20 | |
| 21 | def stopThread(self): |
| 22 | super(BMNetworkThread, self).stopThread() |
| 23 | for i in BMConnectionPool().listeningSockets.values(): |
| 24 | try: |
| 25 | i.close() |
| 26 | except: |
| 27 | pass |
| 28 | for i in BMConnectionPool().outboundConnections.values(): |
| 29 | try: |
| 30 | i.close() |
| 31 | except: |
| 32 | pass |
| 33 | for i in BMConnectionPool().inboundConnections.values(): |
| 34 | try: |
| 35 | i.close() |
| 36 | except: |
| 37 | pass |
| 38 | |
| 39 | # just in case |
| 40 | asyncore.close_all() |
nothing calls this directly
no test coverage detected