mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
app: dont listen for disconnect events
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user