segeeslice / Meetify-UI

This is the React-driven UI for the Meetify program
GNU General Public License v3.0
2 stars 1 forks source link

Chat refresh interval can run forever #31

Closed segeeslice closed 3 years ago

segeeslice commented 3 years ago

As currently implemented in dev, the chat refresh interval can run forever if the timing is right. Specifically, it happens if clearTimeout is called before the next timeout is set.

This should be modified to instead use a flag system to ensure the next round does not start in this case. Additionally, it should probably be moved to a more generic method, such as in this link