summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/scim_anthy_helper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scim_anthy_helper.cpp b/src/scim_anthy_helper.cpp
index 69efb0f..e5ca2af 100755
--- a/src/scim_anthy_helper.cpp
+++ b/src/scim_anthy_helper.cpp
@@ -264,6 +264,8 @@ run (const String &display, const ConfigPointer &config)
gtk_main ();
+ g_io_channel_shutdown (ch, TRUE, NULL);
+
// close connection
helper_agent.close_connection ();
fd = -1;