diff options
Diffstat (limited to 'webrtc/examples/peerconnection/client/linux/main.cc')
-rw-r--r-- | webrtc/examples/peerconnection/client/linux/main.cc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/webrtc/examples/peerconnection/client/linux/main.cc b/webrtc/examples/peerconnection/client/linux/main.cc index cf88c36fbb..4db929c82e 100644 --- a/webrtc/examples/peerconnection/client/linux/main.cc +++ b/webrtc/examples/peerconnection/client/linux/main.cc @@ -30,7 +30,7 @@ class CustomSocketServer : public rtc::PhysicalSocketServer { // Override so that we can also pump the GTK message loop. virtual bool Wait(int cms, bool process_io) { // Pump GTK events. - // TODO: We really should move either the socket server or UI to a + // TODO(henrike): We really should move either the socket server or UI to a // different thread. Alternatively we could look at merging the two loops // by implementing a dispatcher for the socket server and/or use // g_main_context_set_poll_func. @@ -96,10 +96,12 @@ int main(int argc, char* argv[]) { wnd.Destroy(); thread->set_socketserver(NULL); - // TODO: Run the Gtk main loop to tear down the connection. - //while (gtk_events_pending()) { - // gtk_main_iteration(); - //} + // TODO(henrike): Run the Gtk main loop to tear down the connection. + /* + while (gtk_events_pending()) { + gtk_main_iteration(); + } + */ rtc::CleanupSSL(); return 0; } |