Open downtownallday opened 11 years ago
WOW! It works!!! Thank you very much!!!
This puzzles me whole night (http://stackoverflow.com/questions/15642784/thread-sleep-cause-exception-in-jmeter-java-request) You saved me a lot of time
This fixes the exception but now there is a thread or something that does not get cancelled and my app does not exit.
Apparently cleanup() is called before transportDisconnected() and the second cleanup() call from reconnect() throws the exception. Also, you can't call disconnect() in onError(), or that will also cause a problem (and you don't need to). Hopefully, this will fix the issue: