ICU-1949 another fix for reentrant locks. Better would be a fix to mutex.

X-SVN-Rev: 10217
This commit is contained in:
Doug Felt 2002-11-09 02:19:06 +00:00
parent 31472c9630
commit db4ae82cbd

View File

@ -822,6 +822,7 @@ ICUService::getKey(Key& key, UnicodeString* actualReturn, const Factory* factory
#ifdef DEBUG_SERVICE
fprintf(stderr, "found in service: " + name);
#endif
if (!factory) umtx_unlock(&ncthis->lock);
return cloneInstance(result->service);
}
}