Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IgorWarzocha/howcode
/ stopElectronProcess
Function
stopElectronProcess
scripts/dev-electron.ts:67–74 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
}
66
67
function
stopElectronProcess() {
68
if
(!electronProcess) {
69
return
70
}
71
72
electronProcess.kill(
'SIGTERM'
)
73
electronProcess = null
74
}
75
76
function
scheduleRestart() {
77
if
(restartTimer) {
Callers
2
scheduleRestart
Function · 0.85
cleanup
Function · 0.85
Calls
1
kill
Method · 0.65
Tested by
no test coverage detected