diff --git a/core/smpp-extensions/src/main/java/org/restcomm/smpp/DefaultSmppServerHandler.java b/core/smpp-extensions/src/main/java/org/restcomm/smpp/DefaultSmppServerHandler.java index 8baed10..cb01b09 100644 --- a/core/smpp-extensions/src/main/java/org/restcomm/smpp/DefaultSmppServerHandler.java +++ b/core/smpp-extensions/src/main/java/org/restcomm/smpp/DefaultSmppServerHandler.java @@ -261,9 +261,9 @@ public void sessionDestroyed(SmppSession session) { // make sure it's really shutdown session.destroy(); + } finally { //bringing back to close esmeServer.setLocalStateName((com.cloudhopper.smpp.SmppSession.STATES[SmppSession.STATE_CLOSED])); - } finally { accessSemaphore.release(); } }