Dyalog / Jarvis

APL-based web service framework supporting JSON or REST
https://dyalog.github.io/Jarvis/
MIT License
33 stars 6 forks source link

KillSession is not Optionally Called #10

Closed arcfide closed 4 years ago

arcfide commented 4 years ago

The KillSession test here will fail at some point because when Power Op is called with a function instead of a value, it will always run at least once. This means that KillSession will always run at least once. This will also result in potential errors depending on the datatypes used for sessions and a number of other undesirable behaviors.

https://github.com/Dyalog/Jarvis/blob/d2c5e53f8ca17c9764ba60246af8913d2bbe327c/Source/Jarvis.dyalog#L548