Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Murphy <[email protected]>
  • Loading branch information
murphyatwork committed Dec 18, 2024
1 parent ddbe366 commit f2dbff3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fe/fe-core/src/main/java/com/starrocks/qe/StmtExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,9 @@ public void execute() throws Exception {
} else {
// Release all resources after the query finish as soon as possible, as query profile is
// asynchronous which can be delayed a long time.
coord.onReleaseSlots();
if (coord != null) {
coord.onReleaseSlots();
}

if (context instanceof ArrowFlightSqlConnectContext) {
isAsync = true;
Expand Down

0 comments on commit f2dbff3

Please sign in to comment.