mirror of
https://github.com/ollama/ollama.git
synced 2025-04-07 03:18:24 +02:00
app: dont listen for disconnect
events
This commit is contained in:
parent
52ea4d4bb2
commit
9386073e96
@ -102,11 +102,6 @@ function server() {
|
||||
|
||||
proc.on('exit', restart)
|
||||
|
||||
proc.on('disconnect', () => {
|
||||
logger.info('Server disconnected. Reconnecting...')
|
||||
server()
|
||||
})
|
||||
|
||||
app.on('before-quit', () => {
|
||||
proc.off('exit', restart)
|
||||
proc.kill()
|
||||
|
Loading…
x
Reference in New Issue
Block a user