Skip to content

Commit

Permalink
Logout didn't happen b/c DUZ was killed first. Now fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
shabiel committed Aug 13, 2019
1 parent 658a018 commit d61ba8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_webreq.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%webreq ;SLC/KCM -- Listen for HTTP requests;2019-08-13 12:27 PM
%webreq ;SLC/KCM -- Listen for HTTP requests;2019-08-13 2:04 PM
;
; Listener Process ---------------------------------------
;
Expand Down Expand Up @@ -224,8 +224,8 @@ S HTTPREQ("query")=$P($P(TCPX," ",2),"?",2,999)
;
; Remove DUZ from ST and Logout if we logged into VistA
I $G(DUZ) D
. K DUZ
. D LOGOUT^XUSRB
. K DUZ
;
I %WOS="GT.M"&$G(HTTPLOG) ZGOTO 0:NEXT^%webreq ; unlink all routines; only for debug mode
G NEXT
Expand Down

0 comments on commit d61ba8f

Please sign in to comment.