🖥️ Removes event registration

This commit is contained in:
Rune Harlyk
2024-06-17 23:06:50 +02:00
committed by Rune Harlyk
parent efb45218af
commit cac70f5707
9 changed files with 3 additions and 63 deletions
@@ -40,7 +40,6 @@ public:
void begin()
{
_socket->registerEvent(_event);
_socket->onEvent(_event, std::bind(&EventEndpoint::updateState, this, std::placeholders::_1, std::placeholders::_2));
_socket->onSubscribe(_event, std::bind(&EventEndpoint::syncState, this, std::placeholders::_1, std::placeholders::_2));
}