Fix a bug about registering main port 96/314896/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 23 Jul 2024 03:33:32 +0000 (12:33 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 23 Jul 2024 03:33:32 +0000 (12:33 +0900)
The main port should not register G_IO_IN event handler.

Change-Id: I123bdada062da4b7646c615fd72c20ce93c6c56d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/rpc-port/proxy-internal.cc

index 9b1b0d415819ba1ef8625546d130705508fa30c4..a75b7579c58f0429dbad571963cb08af6167323c 100644 (file)
@@ -942,7 +942,7 @@ void Proxy::SetPort(int fd, bool is_delegate) {
   } else {
     _W("[Main] fd=%d", fd);
     fds_[0] = fd;
-    main_port_.reset(new ProxyPort(this, fds_[0], target_appid_));
+    main_port_.reset(new ProxyPort(this, fds_[0], target_appid_, false));
   }
 
   if (main_port_ && delegate_port_) {