My recommended solution would be to simply to either:
a) Destroy the old user (aka connection) object on reconnect; or b) Reuse the old user (aka connection) object.
However, some sort of cleanup system wouldn't hurt either but is more of a new feature (*cough*spec it*cough*) than a solution to this bug.
My recommended solution would be to simply to either:
a) Destroy the old user (aka connection) object on reconnect; or
b) Reuse the old user (aka connection) object.
However, some sort of cleanup system wouldn't hurt either but is more of a new feature (*cough*spec it*cough*) than a solution to this bug.