diff --git a/main.c b/main.c index 0d9a427..5d2a34e 100644 --- a/main.c +++ b/main.c @@ -61,6 +61,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) { if(!c->is_websocket) { if(streamerConnected && streamerConnected != c) { c->is_closing = 1; + return; } else { streamerConnected = c; }