Avoid incorrect warning message in case of a disconnect.
This commit is contained in:
parent
07baf05b90
commit
6280613e5c
@ -93,6 +93,9 @@ void ControllerEventsProtocol::setup()
|
|||||||
|
|
||||||
bool ControllerEventsProtocol::notifyEventAsynchronous(Event* event)
|
bool ControllerEventsProtocol::notifyEventAsynchronous(Event* event)
|
||||||
{
|
{
|
||||||
|
if (event->getType() != EVENT_TYPE_MESSAGE)
|
||||||
|
return true;
|
||||||
|
|
||||||
const NetworkString &data = event->data();
|
const NetworkString &data = event->data();
|
||||||
if (data.size() < 17)
|
if (data.size() < 17)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user