[uim-commit] r1593 - trunk/uim
yamaken at freedesktop.org
yamaken at freedesktop.org
Sun Sep 25 11:48:53 PDT 2005
Author: yamaken
Date: 2005-09-25 11:48:51 -0700 (Sun, 25 Sep 2005)
New Revision: 1593
Modified:
trunk/uim/uim.c
Log:
* This commit reverts the experimental patch post in [Anthy-dev 2149]
committed in r1027, since the problem is resolved at other place
* uim/uim.c
- (uim_quiting): Removed
- (uim_quit): Remove uim_quiting handlings
Modified: trunk/uim/uim.c
===================================================================
--- trunk/uim/uim.c 2005-09-25 18:23:00 UTC (rev 1592)
+++ trunk/uim/uim.c 2005-09-25 18:48:51 UTC (rev 1593)
@@ -59,7 +59,6 @@
struct uim_im *uim_im_array;
int uim_nr_im;
static int uim_initialized;
-static int uim_quiting;
/* Definition of mutex */
UIM_DEFINE_MUTEX_STATIC(mtx_initing_or_quiting);
@@ -710,12 +709,10 @@
UIM_LOCK_MUTEX(mtx_initing_or_quiting);
- if (!uim_initialized || uim_quiting) {
+ if (!uim_initialized) {
UIM_UNLOCK_MUTEX(mtx_initing_or_quiting);
return;
}
- /* Some multithreaded applications calls uim_quit bursty. */
- uim_quiting = 1;
/* release still active contexts */
for (i = 0; i < CONTEXT_ARRAY_SIZE; i++) {
@@ -729,6 +726,5 @@
free(uim_last_client_encoding);
uim_last_client_encoding = NULL;
uim_initialized = 0;
- uim_quiting = 0;
UIM_UNLOCK_MUTEX(mtx_initing_or_quiting);
}
More information about the uim-commit
mailing list