[bitshares/bitshares-core] construct websocket object until command line option is set (#1215)

This is not a «trivial code refine», it breaks things.
With the change, the *_server variables go out of scope at the end of the if-block, causing the destructor to be called, which leads to the listening socket being shut down.


Добавить комментарий