stav / kingbot

Deno CLI trading robot
https://stav.github.io/kingbot/
2 stars 0 forks source link

Xapi connect after timeout looks like it's logged in #14

Open stav opened 2 years ago

stav commented 2 years ago
1[--]> login
input "login" (function) 'AsyncFunction' [AsyncFunction: bound login]
undefined

1[l-]>
<Timeout>
input "" (undefined) 'undefined' undefined

1[--]> connect
input "connect" (function) 'Function' [Function: bound connect]
undefined

1[lo]> 

The problem is the session is not cleared out. It should either be cleared out or reused.