Skip to content

Commit

Permalink
v1.16.2 - avoid spurious 1010 message if no connections to close
Browse files Browse the repository at this point in the history
  • Loading branch information
brian committed Jan 12, 2024
1 parent 9cbec10 commit 4418671
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Source/Jarvis.dyalog
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

rVersion
:Access public shared
r'Jarvis' '1.16.2' '2024-01-11'
r'Jarvis' '1.16.3' '2024-01-12'

Documentation
Expand Down Expand Up @@ -871,8 +871,9 @@
:If ~0timedOut
timedOut/{6::1 0=(_connections).⎕NC'Req'}¨timedOut
:EndIf
dead(connected~conxNames),timedOut (connections not in the index), timed out
{0: {}LDRC.Close ServerName,'.',}¨dead attempt to close them
:If ~0dead(connected~conxNames),timedOut (connections not in the index), timed out
{0: {}LDRC.Close ServerName,'.',}¨dead attempt to close them
:EndIf
remove timed out, or connections that are
_connections.⎕EX(conxNames~connected~dead),timedOut
_connections.index/_connections.index[1;]_connections.⎕NL ¯9
Expand Down

0 comments on commit 4418671

Please sign in to comment.