$ git clone https://tcclient.ion.nu/tc_client.git
commit 686d635283918a0154972605fb34960b5674a330
Author: Alicia <...>
Date: Sun Mar 12 11:12:36 2017 +0100
tc_client-gtk: use /quit to guarantee a clean exit.
diff --git a/ChangeLog b/ChangeLog
index 811547f..b6a23f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,7 @@ modbot: use https instead of http and use the tcclient subdomain since some DNSe
modbot: added an option (--no-unapproved) to not add any unapproved videos to queue (videos still get approved by mods requesting or playing them manually)
tc_client-gtk: fixed a race-condition in the builtin video player.
tc_client-gtk: fixed some memory leaks.
+tc_client-gtk: use /quit to guarantee a clean exit.
irchack: don't rely on connection ID.
0.41.1:
Use tinychat.com instead of apl.tinychat.com (works around SSL/TLS issues on windows)
diff --git a/utilities/gtk/camviewer.c b/utilities/gtk/camviewer.c
index 64ab1cc..1f1e204 100644
--- a/utilities/gtk/camviewer.c
+++ b/utilities/gtk/camviewer.c
@@ -1,6 +1,6 @@
/*
tc_client-gtk, a graphical user interface for tc_client
- Copyright (C) 2015-2016 alicia@ion.nu
+ Copyright (C) 2015-2017 alicia@ion.nu
Copyright (C) 2015 Pamela Hiatt
This program is free software: you can redistribute it and/or modify
@@ -1015,6 +1015,9 @@ int main(int argc, char** argv)
g_timeout_add(40, audiomixer, &audiopipe[1]);
#endif
gtk_main();
+ write(tc_client_in[1], "/quit\n", 6);
+ write(greenroompipe_in[1], "/quit\n", 6);
+ sleep(1);
#ifdef _WIN32
if(coreprocess.hProcess)