MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / stop

Method stop

test/functional/test_framework/socks5.py:154–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

152 self.thread.start()
153
154 def stop(self):
155 self.running = False
156 # connect to self to end run loop
157 s = socket.socket(self.conf.af)
158 s.connect(self.conf.addr)
159 s.close()
160 self.thread.join()
161

Callers 1

stop_nodeMethod · 0.45

Calls 2

joinMethod · 0.80
closeMethod · 0.45

Tested by 1

stop_nodeMethod · 0.36