mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 15:04:52 +09:00
If the connect close method is called while the connection is waiting for a reconnection attempt then the attempt is cancelled but the close method then erroneously waited for a close event that would never happen. Fix by resetting the connector and rasing the close event in the close method if it's in the waiting for reconnect state.