Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ public void sessionDestroyed(SmppSession session) {
esmeServer.resetEnquireLinkFail();
this.smppServerOpsThread.removeEnquireList(esmeName);
this.smppSessionHandlerInterface.destroySmppSessionHandler(esmeServer);
//bringing back to close
esmeServer.setLocalStateName((com.cloudhopper.smpp.SmppSession.STATES[SmppSession.STATE_CLOSED]));

DefaultSmppSession defaultSession = (DefaultSmppSession) session;

Expand All @@ -261,8 +263,6 @@ public void sessionDestroyed(SmppSession session) {
// make sure it's really shutdown
session.destroy();

//bringing back to close
esmeServer.setLocalStateName((com.cloudhopper.smpp.SmppSession.STATES[SmppSession.STATE_CLOSED]));
} finally {
accessSemaphore.release();
}
Expand Down