Only start websocket connections if needed
This commit is contained in:
@@ -46,6 +46,9 @@ public:
|
||||
void setDefaultPayFrom();
|
||||
|
||||
void replaceWormholeClient(WormholeClient* newClient);
|
||||
bool isWebsocketListening();
|
||||
void createWebsocket();
|
||||
void stopWebsocket();
|
||||
|
||||
Ui::MainWindow* ui;
|
||||
|
||||
@@ -107,8 +110,6 @@ private:
|
||||
|
||||
void restoreSavedStates();
|
||||
|
||||
void createWebsocket();
|
||||
|
||||
WSServer* wsserver = nullptr;
|
||||
WormholeClient* wormhole = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user