Closed kdewald closed 3 years ago
Thanks a lot @kdewald :-) I was guessing the issue might have been related to GMainLoop
. But I could not see what I 'recently' changed that might have affected the library.
Anyway, thanks to your PR, it fixes a critical issue people were having :+1:
For
g_signal_connect
to work, the process (either outside or within the library) needs to have at least oneGMainLoop
active to handle all the incoming events.When a connection is established, create a pthread that keeps a main event loop open, and close it when disconnect is called.
Fixes: