Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ cleanup
Function
cleanup
src/node/runtime/sshConnectionPool.ts:135–138 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
133
let
settled = false;
134
135
const
cleanup = () => {
136
clearTimeout(timer);
137
abortSignal?.removeEventListener(
"abort"
, onAbort);
138
};
139
140
const
finish = (handler: () => void) => {
141
if
(settled) {
Callers
4
finish
Function · 0.70
onAbort
Method · 0.70
scheduleKill
Method · 0.70
probeConnection
Method · 0.70
Calls
1
removeEventListener
Method · 0.80
Tested by
no test coverage detected