Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
9386073e
Commit
9386073e
authored
Jul 16, 2023
by
Jeffrey Morgan
Browse files
app: dont listen for `disconnect` events
parent
52ea4d4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
app/src/index.ts
app/src/index.ts
+0
-5
No files found.
app/src/index.ts
View file @
9386073e
...
@@ -102,11 +102,6 @@ function server() {
...
@@ -102,11 +102,6 @@ function server() {
proc
.
on
(
'
exit
'
,
restart
)
proc
.
on
(
'
exit
'
,
restart
)
proc
.
on
(
'
disconnect
'
,
()
=>
{
logger
.
info
(
'
Server disconnected. Reconnecting...
'
)
server
()
})
app
.
on
(
'
before-quit
'
,
()
=>
{
app
.
on
(
'
before-quit
'
,
()
=>
{
proc
.
off
(
'
exit
'
,
restart
)
proc
.
off
(
'
exit
'
,
restart
)
proc
.
kill
()
proc
.
kill
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment