mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Fix memory leak #273
This commit is contained in:
parent
f8b3bc4133
commit
82c867d2eb
12 changed files with 194 additions and 176 deletions
|
|
@ -68,11 +68,16 @@ class ClientSocketEvent {
|
|||
};
|
||||
*/
|
||||
class SocketEmitter {
|
||||
protected:
|
||||
uint8_t newclients = 0;
|
||||
uint8_t newClients[5] = {255,255,255,255,255};
|
||||
void delayInit(uint8_t num);
|
||||
public:
|
||||
JsonSockEvent json;
|
||||
//ClientSocketEvent evt;
|
||||
room_t rooms[SOCK_MAX_ROOMS];
|
||||
uint8_t activeClients(uint8_t room);
|
||||
void initClients();
|
||||
void startup();
|
||||
void begin();
|
||||
void loop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue