Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/su-kaka/gcli2api
/ close
Method
close
log.py:296–298 ·
view source on GitHub ↗
手动关闭(优雅退出用)
(self)
Source
from the content-addressed store, hash-verified
294
return
_get_log_file_path()
295
296
def
close(self):
297
""
"手动关闭(优雅退出用)"
""
298
_stop_writer_thread()
299
300
def
get_queue_size(self) -> int:
301
return
len(_log_deque)
Callers
3
_close_log_file
Function · 0.45
lifespan
Function · 0.45
disconnectWebSocket
Function · 0.45
Calls
1
_stop_writer_thread
Function · 0.85
Tested by
no test coverage detected