CodeNow/api

Crossing Streams

bkendall opened this issue · 1 comments

image

When opening multiple terminals, the streams seem to be crossing. In this image, I pressed 'a' once, and got three in response.

Bug squished.
Each tab generated the same terminal and event stream Ids, which caused the server to add multiple onData events to the same stream, causing this issue.

Fix: Generate a Unique id for each terminal stream id