Skip to content

Commit

Permalink
Fix NPE in RunningDevService which represens a shared service
Browse files Browse the repository at this point in the history
(cherry picked from commit 28034bb)
  • Loading branch information
sberyozkin authored and gsmet committed Jun 28, 2023
1 parent 75b7cf3 commit 2840a9e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ public boolean isOwner() {

@Override
public void close() throws IOException {
this.closeable.close();
if (this.closeable != null) {
this.closeable.close();
}
}

public DevServicesResultBuildItem toBuildItem() {
Expand Down

0 comments on commit 2840a9e

Please sign in to comment.