This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Description
The latest version of the Java client on the /release/2.2 branch does not have measures in place to ensure that the hub connection state is synchronized across threads (with the naked variable being read without concurrency control), this leads to invoke calls failing even when the connection status is Connected on other threads.
A possible fix might be to mark this variable as volatile (though can at times be a fragile solution), or switch to using the accessor at all times, along with some form of locking.