You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2024/02/08 21:11:46 UTC
(tomcat) 03/04: Re-order so library isn't reported as running after it is terminated
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 6b38522ec964ac76ab329fb44c6313dba9289467
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Feb 8 18:54:18 2024 +0000
Re-order so library isn't reported as running after it is terminated
---
java/org/apache/catalina/core/AprLifecycleListener.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/java/org/apache/catalina/core/AprLifecycleListener.java b/java/org/apache/catalina/core/AprLifecycleListener.java
index 4ed37531fa..8fea80148e 100644
--- a/java/org/apache/catalina/core/AprLifecycleListener.java
+++ b/java/org/apache/catalina/core/AprLifecycleListener.java
@@ -170,11 +170,11 @@ public class AprLifecycleListener implements LifecycleListener {
private static void terminateAPR() {
Library.terminatePrepare();
- Library.terminate();
- AprStatus.setAprAvailable(false);
AprStatus.setAprInitialized(false);
- sslInitialized = false; // Well we cleaned the pool in terminate.
+ AprStatus.setAprAvailable(false);
fipsModeActive = false;
+ sslInitialized = false; // Well we cleaned the pool in terminate.
+ Library.terminate();
}
private static void init() {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org