[gnome-network-displays/cc-tmp: 29/80] cc: app is single threaded
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-network-displays/cc-tmp: 29/80] cc: app is single threaded
- Date: Fri, 9 Sep 2022 12:03:50 +0000 (UTC)
commit 4b54fb31d700cc1339d4c90ead1814629506b657
Author: Anupam Kumar <kyteinsky gmail com>
Date: Sat Sep 3 12:43:21 2022 +0530
cc: app is single threaded
src/cc/cc-comm.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/cc/cc-comm.c b/src/cc/cc-comm.c
index 72d62c1..d18ffa5 100644
--- a/src/cc/cc-comm.c
+++ b/src/cc/cc-comm.c
@@ -141,9 +141,6 @@ cc_comm_parse_received_data (CcComm *comm, uint8_t * input_buffer, gssize input_
g_clear_pointer (&comm->message_buffer, g_free);
- // go for another round while we process this one
- cc_comm_listen (comm);
-
comm->closure->message_received_cb (comm->closure, message);
cast__channel__cast_message__free_unpacked (message, NULL);
@@ -212,6 +209,7 @@ cc_comm_message_read_cb (GObject *source_object,
// cc_comm_dump_message (comm->message_buffer, io_bytes);
cc_comm_parse_received_data (comm, comm->message_buffer, io_bytes);
+ cc_comm_listen (comm);
}
// async callback for header read
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]