Skip to content

Commit

Permalink
LDEV-4672 - if if thread is null
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Aug 15, 2023
1 parent d61ab27 commit c1f86f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions core/src/main/java/lucee/runtime/CFMLFactoryImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,7 @@ public Array getInfo() {

if (pc.isGatewayContext()) continue;
thread = pc.getThread();
if (thread == Thread.currentThread()) continue;

thread = pc.getThread();
if (thread == Thread.currentThread()) continue;
if (thread == null || thread == Thread.currentThread()) continue;

data.setEL("startTime", new DateTimeImpl(pc.getStartTime(), false));
data.setEL("endTime", new DateTimeImpl(pc.getStartTime() + pc.getRequestTimeout(), false));
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="5.4.3.2-SNAPSHOT"/>
<property name="version" value="5.4.3.3-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>5.4.3.2-SNAPSHOT</version>
<version>5.4.3.3-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit c1f86f5

Please sign in to comment.