[r=maxim.mossienko] Rollback re-setting thread locals for release. Seem to have caused unexplainable issues in stub index update.

This commit is contained in:
Maxim Shafirov
2011-12-05 16:21:43 +04:00
parent 1642da44f9
commit 48449f51fb
@@ -419,7 +419,7 @@ public class ApplicationImpl extends ComponentManagerImpl implements Application
LOG.error(t);
}
finally {
ReflectionUtil.resetThreadLocals();
//ReflectionUtil.resetThreadLocals();
Thread.interrupted(); // reset interrupted status
}
}
@@ -440,7 +440,7 @@ public class ApplicationImpl extends ComponentManagerImpl implements Application
LOG.error(t);
}
finally {
ReflectionUtil.resetThreadLocals();
//ReflectionUtil.resetThreadLocals();
Thread.interrupted(); // reset interrupted status
}
return null;