MCPcopy Create free account
hub / github.com/ElementsProject/elements / stop

Method stop

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

Source from the content-addressed store, hash-verified

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

Callers 1

stop_nodeMethod · 0.45

Calls 3

connectMethod · 0.80
closeMethod · 0.45
joinMethod · 0.45

Tested by 1

stop_nodeMethod · 0.36