mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
62e3c5605c
You can potentially close an EventSource before its first tick by immediately setting the readyState to a non-open state. Therefore it never opens. Calling `open` will then open it. 'Open' fits better than 'reopen' when taking the above into account