> This sounds like a useful signal, but in your specific case wouldn't a > separate communication thread be better?
I could probably run a separate main loopon a different thread (like described here https://developer.gnome.org/documentation/tutorials/main-contexts.html) but this would really complicate all the communication and add a lot of code as I'd have to pass all the communication data to and from this thread. gnome-builder which uses jsonrpc-glib for LSP does this using the default main queue on the main thread as well (but at least from what I have seen, they don't properly terminate the LSP servers and don't send the "exit" notifications) So yeah, I wanted to add something to Geany that might make sense for other plugins too but what I could use for this specific use case as well. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/4069#issuecomment-2496214764 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/4069/c2496214...@github.com>