Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/21st-dev/1code
/ stopServer
Method
stopServer
src/main/lib/oauth.ts:925–930 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
923
}
924
925
private stopServer(): void {
926
if
(this.server) {
927
this.server.close();
928
this.server = null;
929
}
930
}
931
932
// Cancel the OAuth flow
933
cancel(): void {
Callers
2
startCallbackServer
Method · 0.95
cancel
Method · 0.95
Calls
1
close
Method · 0.80
Tested by
no test coverage detected