Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bitmessage/PyBitmessage
/ handle_close
Method
handle_close
src/network/advanceddispatcher.py:125–131 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
123
return
False
124
125
def
handle_close(self):
126
with
self.readLock:
127
self.read_buf = bytearray()
128
with
self.writeLock:
129
self.write_buf = bytearray()
130
self.set_state(
"close"
)
131
self.close()
Callers
nothing calls this directly
Calls
2
set_state
Method · 0.95
close
Method · 0.45
Tested by
no test coverage detected