From e8ae692d034c5a385ae46542d5299325c1c763fb Mon Sep 17 00:00:00 2001 From: Maria Farooq Date: Mon, 2 Oct 2017 12:31:37 +0500 Subject: [PATCH] changes --- .../restcomm/connect/testsuite/http/AccountsEndpointTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/http/AccountsEndpointTest.java b/restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/http/AccountsEndpointTest.java index f9b3f86d04..5cc4056167 100644 --- a/restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/http/AccountsEndpointTest.java +++ b/restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/http/AccountsEndpointTest.java @@ -129,7 +129,7 @@ public void stopSipStack() throws InterruptedException { if (thinhPhone != null) { thinhPhone.dispose(); } - if (thinhSipStack != null) { + if (thinhSipStack != null && thinhSipStack.getSipProvider().getListeningPoints().length>0) { thinhSipStack.dispose(); } Thread.sleep(1000);