Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ModelTC/LightLLM
/ close_shm
Method
close_shm
lightllm/server/core/objs/shm_array.py:45–50 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
43
return
44
45
def
close_shm(self):
46
if
self.shm is not None:
47
self.shm.close()
48
self.shm.unlink()
49
self.shm = None
50
self.arr = None
Callers
3
shm_array
Function · 0.95
test_recreate_shm_after_close
Function · 0.95
test_close_shm
Function · 0.80
Calls
1
close
Method · 0.45
Tested by
3
shm_array
Function · 0.76
test_recreate_shm_after_close
Function · 0.76
test_close_shm
Function · 0.64