virtual-image: Exit early when new connection fails
This commit is contained in:
parent
e2d4b0d249
commit
170d7c2cf7
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ new_connection_cb (GObject *source_object, GAsyncResult *res, gpointer user_data
|
||||||
|
|
||||||
g_warning ("Error accepting a new connection: %s", error->message);
|
g_warning ("Error accepting a new connection: %s", error->message);
|
||||||
start_listen (dev);
|
start_listen (dev);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Always further connections (but we disconnect them immediately
|
/* Always further connections (but we disconnect them immediately
|
||||||
|
|
Loading…
Reference in a new issue