You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is with Cycle::length, it returned array length and not how many items were in the array, removing the item is using delete data[index]. So after each hot reload, the terminal_id is the next value.
Changing the behavior of Cycle breaks half of unit tests.
Issue summary
Each time when hot reload, update the page that have the terminal new history is created.
Expected behavior
When a terminal is destroyed and created again, it should create the exact same terminal with the same history.
Steps to reproduce
cd docs && npm install && npm start
Browser and OS
N/A
Additional notes
The terminal_id needs to be updated when a terminal is destroyed.
The text was updated successfully, but these errors were encountered: