Skip to content

Commit

Permalink
Fixed NPE in test dispose().
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Aug 13, 2024
1 parent 520a8c4 commit 8a46388
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class HttpClientContinueTest extends AbstractTest<TransportScenario>
@AfterEach
public void dispose()
{
if (scenario == null)
if (scenario == null || scenario.connector == null)
return;
ByteBufferPool bbp = scenario.connector.getByteBufferPool();
if (bbp == null)
Expand Down

0 comments on commit 8a46388

Please sign in to comment.