mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
WebSocketServer: Remove unnecessary signals
This commit is contained in:
parent
0de3f304f0
commit
bbc504ce72
@ -323,8 +323,6 @@ void WebSocketServer::onClose(websocketpp::connection_hdl hdl)
|
||||
|
||||
// Emit signals
|
||||
emit ClientDisconnected(state, conn->get_local_close_code());
|
||||
if (isIdentified)
|
||||
emit IdentifiedClientDisconnected(state, conn->get_local_close_code());
|
||||
}
|
||||
|
||||
void WebSocketServer::onMessage(websocketpp::connection_hdl hdl, websocketpp::server<websocketpp::config::asio>::message_ptr message)
|
||||
|
@ -82,9 +82,7 @@ class WebSocketServer : QObject
|
||||
void BroadcastEvent(uint64_t requiredIntent, std::string eventType, json eventData = nullptr, uint8_t rpcVersion = 0);
|
||||
|
||||
signals:
|
||||
void ClientIdentified(const WebSocketSessionState state);
|
||||
void ClientDisconnected(const WebSocketSessionState state, const uint16_t closeCode);
|
||||
void IdentifiedClientDisconnected(const WebSocketSessionState state, const uint16_t closeCode);
|
||||
|
||||
private:
|
||||
void ServerRunner();
|
||||
|
Loading…
Reference in New Issue
Block a user