TooTallNate/Java-WebSocket — Issue #51: releaseAndReinitialize broken
Author: vijayraghunathan
Created: 2011-12-15 13:27:33+00:00
State: open

this function sets 'draft' to null, but there are no setters for draft. Therefore calling
'releaseAndReinitialize' pretty much makes your object useless.

Possible fixes are
a) remove the this.draft = null (this is what I did, it seems like if you're changing draft's you should create a new object)
b) add a setter.