cs136 / seashell

Seashell is an online environment for editing, running, and submitting C programming assignments.
GNU General Public License v3.0
38 stars 19 forks source link

[frontend] Implement waitForSync by disconnect/connect. #772

Closed e45lee closed 7 years ago

e45lee commented 7 years ago

This PR implements waitForSync by calling disconnect/connect, avoiding the possible race condition that could occur when a write was expected and synced before waitForSync could check.